How do I get window position when running JME3 in windowed mode?
And also, how do I get the current system’s screen resolution?
Well… as i know you can get it via Display.getParent if jme’s context type is Lwjgl canvas… but that means you have to make your own frame, which isn’t a big deal and will solve your issues…
Currently as i know the jme3 test’s use Lwjgl’s applet harness and i’m not able to find a way to get it…
And for your second question u can get width and height via
app.getContext().getSettings().getWidth();
app.getContext().getSettings().getHeight();
Or inside your application:
settings.getHeight();
settings.getWidth();
2 Likes
Thank you! This information helped me!