Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (406)
games submitted by our members
Games in WIP (293)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Java Game APIs & Engines / Xith3D Forums / Re: Prob with Xith, Swing, textfield + listeners on: 2004-03-13 00:12:22
Thanks Stefan for your inputs. Guess I have to tweak some xith3d codes to make it happen.
2  Game Development / Performance Tuning / Re: -XX:-OptoScheduling -XX:-Inline on: 2004-03-12 13:13:12
I tried to use the setting and I was amazed that my project fps jumped from usual 30+ fps to 60 fps. Thanks for your info. Smiley
3  Java Game APIs & Engines / Xith3D Forums / Re: Prob with Xith, Swing, textfield + listeners on: 2004-03-12 01:05:18
I was trying to figure out how to implement invisible JLayeredPane or GlassPane on xith3d canvas (unfortunately placing JFrame on canvas is out of the question, or is it?)  so that I can place components on top of it and I can move them around.

Has anyone done it or considering doing it care to give some info?
4  Java Game APIs & Engines / Xith3D Forums / Re: Prob with Xith, Swing, textfield + listeners on: 2004-03-12 00:58:33
Not similar problem but related Swing problem I encountered was with texfield and any other entry fields not able to fire ActionListener when Enter key is pressed. As the checked UIWindowManager, the processEvent only process KeyEvent and dispatches  it to focused text entry field.  Can this be considered a bug?

My workaround was using InputMap, KeySroke and ActionMap on the textfield. Not a clean workaround but it worked i.e:
                 speedTxt.getInputMap().put(KeyStroke.getKeyStroke('\n'), "action");
//simulating ENTER
                 
speedTxt.getActionMap().put("action", action);

Would appreciate if there's any info on a better way to handle Swing events.
5  Java Game APIs & Engines / Xith3D Forums / Re: The JWS thread *Xith3D demos only* on: 2004-03-08 23:45:18
Hi,

I have just started doing coding with xith3d and still trying to learn as much stuff as I can.

I was surprized that it was possible to get > 100 fps but in all the tests I conducted on demo and samples provided, I couldn't get anywhere near there, but averaging around 40fps. Is there a way to improve performance that I had missed?
Pages: [1]
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars and Titan!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (76 views)
2013-05-17 21:29:12

alaslipknot (87 views)
2013-05-16 21:24:48

gouessej (117 views)
2013-05-16 00:53:38

gouessej (112 views)
2013-05-16 00:17:58

theagentd (123 views)
2013-05-15 15:01:13

theagentd (112 views)
2013-05-15 15:00:54

StreetDoggy (156 views)
2013-05-14 15:56:26

kutucuk (178 views)
2013-05-12 17:10:36

kutucuk (177 views)
2013-05-12 15:36:09

UnluckyDevil (185 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.09 seconds with 21 queries.