private static void init() {
GlobalData.GRAPHICS_DIMENSIONS = Dimensions.TWO_DIMENSION;
theWindow = new JavaWindow( "Tree test", WINDOW_WIDTH, WINDOW_HEIGHT );
theWindow.addKeyListener( ( input = InputManager.getInstance() ) );
//mouseInput = new Mouse();
theWindow.addMouseListener( ( mouseInput = new Mouse() ) );
theWindow.addMouseMotionListener( mouseInput );
//theWindow.addMouseListener( new MockMouse() );
allGraphics = new LinkedList< GraphicsObject >();
pf = new Points();
sf = new Sizes();