Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (482)
Games in Android Showcase (110)
games submitted by our members
Games in WIP (548)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2]
  ignore  |  Print  
  OK UI package now ported to SWT ! ! !  (Read 7508 times)
0 Members and 1 Guest are viewing this topic.
Offline princec

JGO Kernel


Medals: 362
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #30 - Posted 2004-06-09 11:12:50 »

LWJGL's default context management is designed for games clients - so there's only one context, which is likely to be a fullscreen window.

However LWJGL has an SWT adapter which allows it to run with SWT and multiple contexts; it also works with JOGL-created contexts. Effectively this allows you to use the LWJGL binding layer independently of anything else. Very convenient if you prefer the API but have exotic context management requirements.

Cas Smiley

Offline vinstar

Junior Newbie




Java games rock!


« Reply #31 - Posted 2004-06-09 11:17:18 »

Great, I will be looking into it Smiley

tgeorge: could you put the code online, so someone can look into merging it into Xith3D ?

It's also a good idea not to make Xith3D depentent on AWT events. A generic functionality could be provided, which would be much cleaner, or much more portable across different JVMs, some of which do not have AWT/Swing.
Offline Sylvie

Senior Newbie




Java games rock!


« Reply #32 - Posted 2004-06-17 15:51:20 »

Has there been any progress on this? I'm interested in possibly using SWT for Jogl.

Sean
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline princec

JGO Kernel


Medals: 362
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #33 - Posted 2004-06-18 07:18:51 »

If you're going to use SWT you should use LWJGL, not JOGL Smiley

Cas Smiley

Offline Sylvie

Senior Newbie




Java games rock!


« Reply #34 - Posted 2004-06-18 18:43:55 »

I only looked at LWJGL briefly and it looked like it didn't support windowed contexts. I'm writing a visualization application for my company and need to be able to run in a window.

Sean
Offline princec

JGO Kernel


Medals: 362
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #35 - Posted 2004-06-19 06:17:54 »

LWJGL does support a single window, out of the box, although officially it's a debugging mode. However, if you want to use SWT, LWJGL can be used with SWT-created contexts as well, unlike JOGL.

Cas Smiley

Offline aNt

Senior Member




AFK


« Reply #36 - Posted 2004-06-23 09:51:42 »

any sweet sexy news on this dudes?  Grin
Offline fbi

Senior Newbie





« Reply #37 - Posted 2004-06-23 15:01:56 »

I completely agree with Cas...if you want to use SWT you HAVE to use LWJGL, because it has a damn good SWT binding...it's sure?
How can I be so sure about it?  Huh
Because I coded that damn binding  Grin
If you are interested in any info about it feel free to ask me...currently it works on Windows but someday (when my PhD projects are over  Roll Eyes ) it will work on Linux, too  Smiley



PhD Student@Virtual ArtificiaL Intelligent Systems (VALIS) Laboratory

Fatti non foste a viver come bruti...ma per seguir vertute e canoscenza.
Offline aNt

Senior Member




AFK


« Reply #38 - Posted 2004-06-23 16:25:43 »

i thought SWT run under MacOSX also?
Is it just as simple to add a SWT componect to Xith3d
as a swing one? do u do it in the same way?
Offline fbi

Senior Newbie





« Reply #39 - Posted 2004-06-24 06:37:13 »

Hmmm...SWT is also present under MacOS but as you might see from the Eclipse project website there's still place for large improvements  :-/
Anyway I just did use to bind SWT with LWJGL: This way ANY application running on top of LWJGL can automatically render into a SWT Canvas.
That basically means that if Xith3D uses LWJGL 0.9 (with SWT support) then you can create a trivial SWT Shell including the usual menus, buttons and a SWTCanvas.
This class is derived from the SWT Canvas in order to support custom OpenGL rendering in it  Wink

PhD Student@Virtual ArtificiaL Intelligent Systems (VALIS) Laboratory

Fatti non foste a viver come bruti...ma per seguir vertute e canoscenza.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline aNt

Senior Member




AFK


« Reply #40 - Posted 2004-06-24 08:33:28 »

well that all sounds very rocking.
Offline princec

JGO Kernel


Medals: 362
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #41 - Posted 2004-06-24 09:05:42 »

All it needs now is a concerted effort to bend Xith's developers' will until they cave in and default to LWJGL's GL binding...

Cas Smiley

Offline aNt

Senior Member




AFK


« Reply #42 - Posted 2004-06-24 09:25:45 »

im using lwjgl now dude Smiley have been for a while.
but i will still be wanting to see what JavaOne and SUN
pull out of the gaming bag. with all this j3d chatter
going around. Wink

its all cool Smiley and i got a few baskets with an egg in each.
Offline princec

JGO Kernel


Medals: 362
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #43 - Posted 2004-06-24 10:17:42 »

I've only got one basket but the egg is made from reinforced titanium and filled with concrete.

Cas Smiley

Offline SpuTTer

Senior Member


Medals: 1


Lazy Middle Class Intellectual


« Reply #44 - Posted 2004-06-24 16:21:50 »

So is the Xith -> LWJGL  port working fully yet?

Sacramento Volleyball
"Whitty phrase goes here."
Pages: 1 [2]
  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.

atombrot (27 views)
2014-08-19 09:29:53

Tekkerue (25 views)
2014-08-16 06:45:27

Tekkerue (23 views)
2014-08-16 06:22:17

Tekkerue (15 views)
2014-08-16 06:20:21

Tekkerue (22 views)
2014-08-16 06:12:11

Rayexar (61 views)
2014-08-11 02:49:23

BurntPizza (39 views)
2014-08-09 21:09:32

BurntPizza (31 views)
2014-08-08 02:01:56

Norakomi (37 views)
2014-08-06 19:49:38

BurntPizza (67 views)
2014-08-03 02:57:17
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!