Full-Screen Windows

Hi everyone!!Do you know how I can open a window in a full-screen mode using jdk 1.1.8?Thanks.
[122 byte] By [obdulin2000] at [2007-9-26 7:30:10]
# 1
I remember hearing about a recent full-screen mode, but you have an older version of JDK...
AnyoneEB at 2007-7-1 17:27:08 > top of Java-index,Desktop,Core GUI APIs...
# 2
That's right. There's a new API in JSDK1.4 to control the full-screen.I guess there's no way of doing so in JDK 1.1.8.Thanks anyway
obdulin2000 at 2007-7-1 17:27:08 > top of Java-index,Desktop,Core GUI APIs...
# 3

If you don't want to use 1.4 you can do this:

public FullScreenWindow extends JWindow {

FullScreenWindow() {

setSize(Toolkit.getDefaultToolkit().getScreenSize());

setLocation(0,0);

show();

}

}

This isn't actually fullscreenmode. 1.4 includes access to features contained in a graphicsdevice, allowing page-flipping and other nice stuff. This is a fake fullscreenwindow.

nille40 at 2007-7-1 17:27:08 > top of Java-index,Desktop,Core GUI APIs...
# 4

I'll just guess you're on a mac like me, because of the jdk version number. Apple has in their api a method to hide the menubar. There's also probably one for the control strip if need be. Then you just position a window to cover the entire screen I would assume, and try that. You'd have to search apple's website though, I don't know the methods and such.

LoneOwl at 2007-7-1 17:27:08 > top of Java-index,Desktop,Core GUI APIs...