public void mousePressed(MouseEvent e){
        if(SwingUtilities.isLeftMouseButton(e)){
        	dragging = true;
            startPoint = e.getLocationOnScreen();
            startBounds = e.getComponent ().getBounds();
        }
    }