LWJGL Forum
Programming => General Java Game Development => Topic started 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?
-
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.
-
Is there a way to do #1 with Slick? (I'm not interacting with Display at all so I guess Slick is doing that?)
-
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.
-
Thanks.