Hello,
I have a pretty simple question, is it possible to remove the application border from your jME game? Or is there something at the OS level that prevents this?
To clarify, I don’t want the border with the title that by default says jMonkeyEngine 3.0. I am aware of how to change the title, but I haven’t found anything on removing the window wrapper at all.
Thanks,
-Connor
@pspeed said:
http://hub.jmonkeyengine.org/javadoc/com/jme3/system/AppSettings.html#setFullscreen(boolean)
Which would be fine, if I wanted the application to change the resolution of my monitor and run in fullscreen mode. I don't want to run in fullscreen mode, I want the app to run without a border.
@Screamconjoiner said:
Which would be fine, if I wanted the application to change the resolution of my monitor and run in fullscreen mode. I don't want to run in fullscreen mode, I want the app to run without a border.
Ah. I can only answer the questions as asked. Thanks for the additional info. Hopefully someone else will have a better answer.
1 Like
You can use “-Dorg.lwjgl.opengl.Window.undecorated=true” as vm options or use an AWT borderless window and add a canvas to it.
1 Like
^ or as java code:
System.setProperty(“org.lwjgl.opengl.Window.undecorated”, “true”);
1 Like
Thanks very much! That’s exactly what I wanted, now I’ll just have to figure out some way for the user to be able to move the window by clicking my dragbar… If anyone has any ideas about that off the top of their head I would appreciate it, but I will try to do some research before really asking for help on that.
You guys rock!