I want to do this:
Runtime rt = Runtime.getRuntime();
try {
rt.exec("notepad");
} catch (IOException ioe) {
ioe.printStackTrace();
}
Inside an applet (called from a LOCAL html webpage) is it possible? I remember something about a security model in java but I am not sure.
Please look at this Q&A: Can trusted 1.5 applets execute system commands? for answer to your question.