+ 3
I want to pass command-line arguments to an applet. How do I do this?
I want to pass command-line arguments to an applet. How do I do this?
1 Antwort
+ 1
Html (inside applet tag):
<param name="message" value="test">
Java (class extends Applet):
String message = this.getParameter("message");