Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (601)
Games in Android Showcase (171)
games submitted by our members
Games in WIP (649)
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  
  LWJGL, awt, swing ...  (Read 3552 times)
0 Members and 1 Guest are viewing this topic.
Offline Chman

Junior Devvie

Nothing more that... Java games are cool !

« Posted 2003-03-06 13:47:15 »

That question has ever been asked, but there were no good responses, so, will we be able to put lwjgl in an awt or swing component in the future ? Will the feature be added soon or in a long time ?

Offline Matzon

JGO Knight

Medals: 19
Projects: 1

I'm gonna wring your pants!

« Reply #1 - Posted 2003-03-06 13:55:23 »

perhaps, dunno  Grin

Lwjgl isn't really a toolkit that is intended for all sorts of integration.

That said, looking at some of the other statements made about this, it shouldn't be *that* big a problem to render into another window - the problem seems to be with behaving with the awt/swing component architecture...

However - I'm busy enough getting the Mouse to behave... (read: getting 0.5 out the door)

Offline cfmdobbie

Senior Devvie

Medals: 1

Who, me?

« Reply #2 - Posted 2003-03-06 14:31:52 »

Let me get my scrying stones out... Wink

I don't know what the devs are thinking, but guessing from the way most library development goes I expect they'll continue without any integration and with about the current feature set for a while - fixing things and getting general "alpha-ish" features working.

There'll be a significant shift about version 0.6-7 as more people start to use it, and we'll see an embeddable canvas etc shortly thereafter.

About version 0.95 the devs will be contacted by Sun, who ship them all out to Silicon Valley to work full time on it.

Version 1.0 will be accompanied by a huge release on the main page of, Slashdot and  With the release of version 1.4 an exclusive deal is signed with Sony, and the PS4 is announced as a massively parallel-processing pure Java/OpenGL platform.  Six months later, Cas gets elected to be a permanent member of the UN security council.  The Isle of Wight is renamed the "Isle of LWJGL".  Half the money gained from the whole project will be spent on lawyers.

I guess the first part of this will be pretty accurate, but as things go on I expect my predictions will be a little off.  All apart from the Isle of Wight.

Hellomynameis Charlie Dobbie.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Matzon

JGO Knight

Medals: 19
Projects: 1

I'm gonna wring your pants!

« Reply #3 - Posted 2003-03-06 15:15:22 »

please please - can I be a Minion of Doom ?  Tongue

Well it's pretty simple - we work on what we want to... so if none of us want to work on awt integration, then no one will...

It's open source, and we're pretty open to patches (if they don't go directly against what we're trying to accomplish or introduce huge bloat). That said, if the "community" keeps shouting for stuff, we will ofcourse work towards that goal. Thats how we got "proper" windowed mode support... since "someone" was against it  Tongue

Offline gregorypierce

Senior Devvie

I come upon thee like the blue screen of death....

« Reply #4 - Posted 2003-03-06 15:20:20 »

It *can* be, but no decision has been made one way or the other on whether or not we want to build a component into LWJGL. I can however make the Sojourner GLCanvas component available to anyone interested in it. Requires a tad more work on your part to make sure that if you put it in a Swing container that it doesn't overlap anything (because its heavyweight and all swing components are lightweight the GLCanvas gets drawn last), but otherwise performs just as well as the non windowable component.

You *must* ensure that AWT is available on your target platform (and if you're running where Java is that shouldn't be an issue for you), but the approach doesn't require that AWT be present for the non-windowing component to work.

She builds, she builds oh man
When she links, she links I go crazy
Cause she looks like good code but she's really a hack
I think I'll run upstairs and grab a snack!
Offline princec

« JGO Spiffy Duke »

Medals: 555
Projects: 3
Exp: 16 years

Eh? Who? What? ... Me?

« Reply #5 - Posted 2003-03-06 16:28:25 »

I mustard mitt I'm coming round to thinking we can integrate pretty easily with AWT without too much pain. I'm also beginning to think we should do our own windowed mode properly too for that matter and allow it to be resized etc. and not be a debugging window blah blah which means some changes to the way Display and DisplayMode work.

We'll see. Our biggest problem in this respect is that one of the mandates of LWJGL is that it assumes there is no windowing system present and possibly only one screen mode (read: PS3 or somesuch Grin) so I'm not sure how wise it is to be incorporating it into the core library. It might do well as a special supporting library, along with one to do utils as well like textures and stuff.

Cas Smiley

Offline elias

Senior Devvie

« Reply #6 - Posted 2003-03-06 17:00:12 »

I think that little cas is getting soft in his old days... I while ago he'd toast anyone mentioning a real windowed mode. Now, he talks about resizing and all... tsk tsk ;-)

- elias

Offline princec

« JGO Spiffy Duke »

Medals: 555
Projects: 3
Exp: 16 years

Eh? Who? What? ... Me?

« Reply #7 - Posted 2003-03-06 18:46:11 »

Well, on the one hand it gives us a bunch of extra functionality and widens our appeal... at the same time buggering up the stark simplicity of programming what is, in effect, a console. Which is where I wanted to be Smiley We all know that write-once-run-anywhere isn't really quite as simple as it sounds and much of the problem is having to cater for too wide a range of systems. It's hard enough as it is worrying about OpenGL extensions.

Cas Smiley

Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

Jesse (10 views)
2015-07-29 04:35:27

Riven (33 views)
2015-07-27 16:38:00

Riven (16 views)
2015-07-27 15:35:20

Riven (20 views)
2015-07-27 12:26:13

Riven (10 views)
2015-07-27 12:23:39

BurntPizza (28 views)
2015-07-25 00:14:37

BurntPizza (39 views)
2015-07-24 22:06:39

BurntPizza (22 views)
2015-07-24 06:06:53

NoxInc (25 views)
2015-07-22 22:16:53

NoxInc (17 views)
2015-07-22 22:13:39
List of Learning Resources
by gouessej
2015-07-09 11:29:36

How Do I Expand My Game?
by bashfrog
2015-06-14 11:34:43

List of Learning Resources
by PocketCrafter7
2015-05-31 05:37:30

Intersection Methods
by Roquen
2015-05-29 08:19:33

List of Learning Resources
by SilverTiger
2015-05-05 10:20:32

How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21 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!