[RESOLVED] applet problem
i've made a project, i want to test this code:
Code:
String cmdlocation = "c:\\program files\\Mozilla Firefox\\firefox.exe";
String gweb = cmdlocation
try {
Runtime.getRuntime().exec(gweb);
}
catch(IOException ioe){
System.out.println("Did not work");
}
and well, it works... but when i jar the file and add the jar to a html file, it doesnt work in the html file, but the jar file works opening with a batch file.
does anyone know how to fix that?
Re: [RESOLVED] applet problem
thank you Computerjy for helping me.
it helped alot, but strange enough i got a error when it was _Blank but when it was _Top it worked.
Re: [RESOLVED] applet problem
Re: [RESOLVED] applet problem
the code you pmed me, i pmed you that i got a error. and well, igot it working.