Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (475)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (530)
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 1717 times)
0 Members and 1 Guest are viewing this topic.
Offline corrector

Junior Newbie




Java games rock!


« Posted 2004-04-28 06: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 Member




Friendly fire isn't friendly!


« Reply #1 - Posted 2004-04-28 06: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 Member


Medals: 1


Lazy Middle Class Intellectual


« Reply #2 - Posted 2004-04-28 07: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: 1


pixels! :x


« Reply #3 - Posted 2004-04-28 07: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)
{nothing}

弾幕 ☆ @mahonnaiseblog
Offline corrector

Junior Newbie




Java games rock!


« Reply #4 - Posted 2004-04-30 00:55:17 »

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

Offline D.t.O

Junior Member




Psych'd about Java Games


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

Quote

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

Enjoy.
Regards,
     - D.t.O
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

ctomni231 (32 views)
2014-07-18 06:55:21

Zero Volt (28 views)
2014-07-17 23:47:54

danieldean (24 views)
2014-07-17 23:41:23

MustardPeter (25 views)
2014-07-16 23:30:00

Cero (40 views)
2014-07-16 00:42:17

Riven (42 views)
2014-07-14 18:02:53

OpenGLShaders (29 views)
2014-07-14 16:23:47

Riven (29 views)
2014-07-14 11:51:35

quew8 (26 views)
2014-07-13 13:57:52

SHC (63 views)
2014-07-12 17:50:04
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
java-gaming.org 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‑gaming.org
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!