Difference between Java 1.4 and 1.3

I recently wrote an application program in Java Version 1.4 for my graphics course. But for some reason I could not get my Keystroke Listener working. When i tried the same code on Java 1.3 it seemed to work perfectly fine.

Does anyone know why i could not get my listener to work in 1.4 when it worked perfectly fine on 1.3? If any of you are intrested, i will be happy to share my code with you.

  • corrector

I’m not aware or experienced any major differences. So I’d need more detail about the problem.

My non-helping humor post of the day. (someone was going to do it!!?)

Difference between Java 1.4 and 1.3 == 0.1

Keystroke Listener?

class Bla implements KeyListener <- the usual way

public void keyPressed(KeyEvent ke)
{flag on}
public void keyReleased(KeyEvent ke)
{flag off}
public void keyTyped(KeyEvent ke)
{nothing}

Hey Guys,

For those of you who might be intrested, I have posted my code on my website.

http://web.presby.edu/~kdwivedi/javaprogram.html

Basically as i said before, this is a game with 2 cards (i followed the cards layout). The first card gives the view a few choices he or she can choose from and also the instructions. As you click Play, you can play the game… depending on what you choose from the options. This program is an application and complies on both 1.4 and 1.3, but the keystore listener i have in have in there only works on 1.3 and not on 1.4, despite the fact that it complies on 1.4. I was wondering if any of you could let me know what i might have to do to get it to work on 1.4, as i really can’t see what might be wrong.

  • corrector

Java 1.4 - Java 1.3 = (Java)(1.4 - 1.3) = Java 0.1
Did that ever exist? [rhetorial question]
Thought I just had to correct that mistake. :stuck_out_tongue: Just kidding.

No offense SpuTTer :wink: