Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (107)
games submitted by our members
Games in WIP (535)
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  
  Swing in a fullscreen 3D game  (Read 847 times)
0 Members and 1 Guest are viewing this topic.
Offline Corale

Junior Newbie





« Posted 2007-07-19 09:06:14 »

Hey, newbie at java game development here Smiley Have had some experience in game programming and lots in other sorts of java programming. The game I am thinking of will be based on a big 3d-rendered world map with on-click events for towns, units etc. These events should pop up windows to the user. These windows need to be pretty advanced in terms of event handling so I thought about using swing inside the game. Ok, to my question then.

Is it reasonably easy to make swing work with for example LWJGL (which I intend to use)? By easy I mean once I get the personal look and feel of the windows set up (I can do that) is it easy to make them render correctly in game on top of the openGL graphics etc? And easy to make the event handling work as it normally does in swing?

Thanks in advance!
David

Edit: Also, if you have any concerns about using Swing in a game like this, please let me know, and tips on replacements are welcome! I should add that I know openGL enough to make simple 3d shooters and such.
Offline Mr_Light

Senior Member




shiny.


« Reply #1 - Posted 2007-07-19 10:41:02 »

It's from a while back but:
http://www.java-gaming.org/forums/index.php?topic=13211.0
should help Wink

It's harder to read code than to write it. - it's even harder to write readable code.

The gospel of brother Riven: "The guarantee that all bugs are in *your* code is worth gold." Amen brother a-m-e-n.
Offline Corale

Junior Newbie





« Reply #2 - Posted 2007-07-19 11:08:01 »

Awesome, I'll just cuddle up with a mug of tea tonight and have a nice read, thanks!
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.

pw (35 views)
2014-07-24 01:59:36

Riven (36 views)
2014-07-23 21:16:32

Riven (24 views)
2014-07-23 21:07:15

Riven (26 views)
2014-07-23 20:56:16

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

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

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

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

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

Riven (56 views)
2014-07-14 18:02:53
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!