public void componentResized(ComponentEvent e) {
    	if(Debug.gui)System.out.println(e.getComponent().getClass().getName() +
    			" --- Resized ");

    	//if the JFrame state is normal & it isn't maximised, save the size of
    	//the Jframe
    	if(frame.getExtendedState()==JFrame.NORMAL && !fullScreenOn) {
			 preMaximiseBounds = frame.getBounds();
			 if(Debug.gui)
				 System.out.println("compResized:PreMaxBounds:"+
						 preMaximiseBounds);
		 }
    	resizeHandler(); //resize everything
    }