Hi !
Featured games (85)
games approved by the League of Dukes
Games in Showcase (636)
Games in Android Showcase (178)
games submitted by our members
Games in WIP (688)
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 2055 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  
You cannot reply to this message, because it is very, very old.

Dwinin (73 views)
2015-11-07 13:29:08

Rems19 (81 views)
2015-10-31 01:36:56

Rems19 (79 views)
2015-10-31 01:32:37

williamwoles (107 views)
2015-10-23 10:42:59

williamwoles (93 views)
2015-10-23 10:42:45

Jervac_ (111 views)
2015-10-18 23:29:12

DarkCart (137 views)
2015-10-16 00:58:11

KaiHH (118 views)
2015-10-11 14:10:14

KaiHH (158 views)
2015-10-11 13:26:18

BurntPizza (173 views)
2015-10-08 03:11:46
Rendering resources
by Roquen
2015-11-13 14:37:59

Rendering resources
by Roquen
2015-11-13 14:36:58

Math: Resources
by Roquen
2015-10-22 07:46:10

Networking Resources
by Roquen
2015-10-16 07:12:30

Rendering resources
by Roquen
2015-10-15 07:40:48

Math: Inequality properties
by Roquen
2015-10-01 13:30:46

Math: Inequality properties
by Roquen
2015-09-30 16:06:05

HotSpot Options
by Roquen
2015-08-29 11:33:11 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!