Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (757)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (844)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Difference between Java 1.4 and 1.3  (Read 2617 times)
0 Members and 1 Guest are viewing this topic.
Offline corrector

Junior Newbie

Java games rock!

« Posted 2004-04-28 04:05:14 »

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
Offline Herkules

Senior Devvie

Friendly fire isn't friendly!

« Reply #1 - Posted 2004-04-28 04:07:18 »

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

HARDCODE    --     DRTS/FlyingGuns/JPilot/JXInput  --    skype me: joerg.plewe
Offline SpuTTer

Senior Devvie

Medals: 1
Exp: 14 years

Lazy Middle Class Intellectual

« Reply #2 - Posted 2004-04-28 05:17:33 »

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

Difference between Java 1.4 and 1.3 == 0.1

Sacramento Volleyball
"Whitty phrase goes here."
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline oNyx

JGO Coder

Medals: 2

pixels! :x

« Reply #3 - Posted 2004-04-28 05:22:23 »

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)

弾幕 ☆ @mahonnaiseblog
Offline corrector

Junior Newbie

Java games rock!

« Reply #4 - Posted 2004-04-29 22:55:17 »

Hey Guys,

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

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

Offline D.t.O

Junior Devvie

Psych'd about Java Games

« Reply #5 - Posted 2004-04-30 01:24:47 »


Difference between Java 1.4 and 1.3 == 0.1

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. Tongue Just kidding.

No offense SpuTTer Wink

     - D.t.O
Pages: [1]
  ignore  |  Print  

EgonOlsen (42 views)
2018-06-10 19:43:48

EgonOlsen (22 views)
2018-06-10 19:43:44

EgonOlsen (43 views)
2018-06-10 19:43:20

DesertCoockie (198 views)
2018-05-13 18:23:11

nelsongames (124 views)
2018-04-24 18:15:36

nelsongames (123 views)
2018-04-24 18:14:32

ivj94 (864 views)
2018-03-24 14:47:39

ivj94 (125 views)
2018-03-24 14:46:31

ivj94 (768 views)
2018-03-24 14:43:53

Solater (140 views)
2018-03-17 05:04:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!