Click to See Complete Forum and Search --> : Problem with Applet to FullScreen Mode


sujith2s
12-18-2007, 12:45 AM
Hi..,

i am using applet to do my java3d applications. its working in webpage. i want this application to work in fullscreen mode in user system by pressing any key in the web page. so i develop a class which recieves the cavas3d object, the same canvas3d object in which i did all the java3d work. the problem here is i can only read the canvas details.. means if i put canvas color then only that color, no information about the scenegraph object. i want to read canvas as well as the scenegraph objects.

The Class i for this is

class fullScreen
{
public fullScreen(Canvas3D c) {
GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
GraphicsDevice[] gs = ge.getScreenDevices();

Frame frame = new Frame(null, config);
frame.setUndecorated(true);
frame.setResizable(true);
frame.add("Center", c);
gs[0].setFullScreenWindow(frame);
setVisible(true);
}
}

Any body.. if you can pls help....

sujith2s
04-04-2008, 07:01 AM
Hi,
any idea???

Hack
04-05-2008, 07:19 AM
Isn't there a fullscreenexclusive setting you can make in Java?

Razee Marikar
04-15-2008, 04:25 AM
It is possible that security settings for applet prevents you from using full screen. Try a full window with applet, or try using a non-webbase (non-applet) client application.