public void fullscreen(boolean full) {
    fullscreen = full;
    if (full) {
      // Add opening a parent frame first... otherwise no keyinput
      // will work...
      remove(canvas);

      if (fullFrame == null) {
	fullFrame = new JFrame("-");
	fullWin = new JWindow(fullFrame);
	fullWin.addKeyListener(canvas);
      }

      screen.setAutoscale(true);
      fullWin.add(canvas);
      fullWin.setSize(100, 100);
      System.out.println("Setting visible to true!!!");
      fullWin.setVisible(true);
      fullFrame.setVisible(true);

      java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment().
	getDefaultScreenDevice().setFullScreenWindow(fullWin);
      fullWin.setFocusable(true);
    } else {
      if (fullFrame != null) {
	fullFrame.setVisible(false);
	fullWin.setVisible(false);
      }
      java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment().
	  getDefaultScreenDevice().setFullScreenWindow(null);
      add(canvas, BorderLayout.CENTER);
      validate();
    }
  }