fullscreen?

anyone got a fullscreen example?
just a basic simple as one?

Java Cool Dude´s Demos support fullscreen.
http://xith.org/demo/JavaCoolDude.php

Hi,

I noticed that Full Screen didn’t actually fill the screen but simply removed the window borders, it’ll only be “genuine” full screen if you set the resolution of your CanvasPeer to that of the desktop. Here’s how I do it in my app


public static int SCR_WIDTH = 800;
public static int SCR_HEIGHT = 600;
public static final int SCR_DEPTH = 32;
public static final boolean SCR_FULL_SCREEN = false;

if(SCR_FULL_SCREEN) {
   Dimension scr_sz = Toolkit.getDefaultToolkit().getScreenSize();
   SCR_WIDTH = scr_sz.width;
   SCR_HEIGHT = scr_sz.height;            
}

RenderPeer rp = new RenderPeerImpl();
CanvasPeer cp = rp.makeCanvas(null, SCR_WIDTH, SCR_HEIGHT, SCR_DEPTH, SCR_FULL_SCREEN);


Hope that helps.