I used the netbeans IDE. The first applet went fine, then I started with a new project and wrote code for the next applet, which was really short.
Compiler, package, and sign the code, run it, and nothing happens.
Here is a mock dialogue that I had with Java:
Me: Ok, let's run the applet.
Java: Sure, here we go!
Me: It's not doing anything.
Java: Looks all good to me
Me: Ok, here, I'll put some status message output on the applet and rerun it.
Java: Sure, here's the result in your status bar after running: null
Me: But I told it to print out "ID = {ID}" in there (where ID is an applet param)
Java: ...
Me: Ok, tell me what the paramter is
Java: The parameter is: null
Me: Uhh, weird, what's the list of all the parameters supplied?
Java: The list of parameters is: null
Me: That's weird, show me the sample code for making an applet with params, maybe I'm doing something dumb that I've forgotten (even though the same code worked on the first applet)
Java: Ok, here is your sample code
Me: Run please
Java: Sure, the argument to the applet is: null
Me: But that was YOUR example...
Java: Would you like me to generate debug information about the applet context?
Me: Yes please.
Java: The applet is running in browser window X, here is the code: "" and the value of param id is: null
Me: Fuck you.
Jave: Would you like me to compress the jar archive before signing it?
Me: ... I give up.
Then I manually compiled the applet instead of getting stupid ant to do it, and it worked fine.
That wasted 2 hours of my day [sad]
I mean VAG.
Yea.