Full Screen Frame
Hi
I need to make a full screen Frame window, without title bar so a user can't move the window
I try this
this.setTitle(null);
this.setMenuBar(null);
and doesn't work for me, I'm using JDK 1.1.8, I know is old but is the JDK that I can use with my client
Thanks
[308 byte] By [
jvga] at [2007-11-26 12:21:09]

# 2
First, though it isn't necessary, I would recomment getting a reference to th default Screen Device like this:
GraphicsDevice device = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice();
Then, you can do the following to set your Frame to fullscreen:
this.setUndecorated(true);
device.setFullScreenWindow(this);
You can then change the display mode of your frame, but only once it's fullscreen:
device.setDisplayMode(new DisplayMode(1024, 768, 16, 60));
where the parameters refer to Frame width, height, color bit-depth, and refresh rate, respectively.
Hope that helps