Need help with java :( (19)

12 Name: OP : 2006-09-27 03:13 ID:vCmK+V+c

Found this

String application = "";
eg. if ( itemClicked.endsWith(".pdf")) {
application = "acroread5";

try
{ Runtime.getRuntime().exec(application);
}
catch (Exception ex) {
}

It looks promising, so I'm gonna have a look at trying that once I get the program running.

This thread has been closed. You cannot post in this thread any longer.