Sign in to follow this  
  • entries
    260
  • comments
    948
  • views
    175430

Thank you mr. Java

Sign in to follow this  
Pouya

198 views

So through some weird accident, I had to write two applets in Java.
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]
Sign in to follow this  


4 Comments


Recommended Comments

I had a fun episode like that with Prolog all last week.

Me: Do something, please.
Prolog: no
Me: Okay, I'll run trace and figure out what's going on
Prolog: Fail: YourFunction
Me: I wonder why it failed, I'll add some more stuff around it
Prolog: no
Me: I'll try changing my quotes
Prolog: User directive failed
Me: Why? I'll trace it
Prolog: Fail: main
Me: ...
Prolog: I'm running your program.
Me: Praise the Mord!
Prolog: I came up with a bunch of results. Here they are! I know they're wrong.
Me: ...those are the wrong rules. What the hell?
Prolog: no

Share this comment


Link to comment
bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///bc u nvr sai hai 2 me?///

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now