LWJGL Forum

Programming => General Java Game Development => Topic started by: Disastorm on September 05, 2011, 08:49:26

Title: Popout Applet?
Post by: Disastorm on September 05, 2011, 08:49:26
Hello, I was jut wondering if using the LWJGL AppletLoader is there a way to have the Applet load in a popup frame instead of on the webpage?
Title: Re: Popout Applet?
Post by: kappa on September 05, 2011, 10:13:12
yes, two ways come to mind:

1) You can have the appletloader load on the webpage, and then the LWJGL application open as an external window (just don't set a Display.setParent()).

2) You can use javascript to open a new html popup window with the desired size which then in turn just has a html file to the appletloader.
Title: Re: Popout Applet?
Post by: Disastorm on September 05, 2011, 22:14:14
Is there a way to do #1 with Slick? (I'm not interacting with Display at all so I guess Slick is doing that?)
Title: Re: Popout Applet?
Post by: kappa on September 05, 2011, 22:39:20
well if you really want a popout I don't think you really want to go for applets then, have a look at Java Web Start or GetDown (http://code.google.com/p/getdown/). Those two tech's should provide you with exactly what you're looking for.
Title: Re: Popout Applet?
Post by: Disastorm on September 05, 2011, 22:44:16
Thanks.