if( e.getX() <= getResizeHandleWidth() )
if( e.getX() <= getResizeHandleWidth() ) {
    public void processMouseMotionEvent( MouseEvent e )    {	switch( e.getID() )	    {	    case MouseEvent.MOUSE_DRAGGED:		int XDragDelta = myXDragOrigin - e.getX();		long VXDragDelta = getVirtualXSize() * XDragDelta / getSize().width;		if( myAmResizing )		    {			if( myResizingFromTop ) {			    setVirtualXSize( myVXOriginalSize + VXDragDelta );			    notifyListeners( VirtualXAdjustmentListener.SIZE_CHANGED );			}			else			    {				setVirtualXSize( myVXOriginalSize - VXDragDelta );				setVirtualXLocation( myVXDragOrigin + VXDragDelta );				notifyListeners(   VirtualXAdjustmentListener.LOCATION_CHANGED 						   | VirtualXAdjustmentListener.SIZE_CHANGED );			    }						    }		else {		    setVirtualXLocation( myVXDragOrigin + VXDragDelta );		    notifyListeners( VirtualXAdjustmentListener.LOCATION_CHANGED );		}		repaint();		break;	    case MouseEvent.MOUSE_MOVED:		if( e.getX() <= getResizeHandleWidth() )		    setCursor( Cursor.getPredefinedCursor(Cursor.W_RESIZE_CURSOR) );		else if( e.getX() >= getSize().width-getResizeHandleWidth() )		    setCursor( Cursor.getPredefinedCursor(Cursor.E_RESIZE_CURSOR) );		else		    setCursor( Cursor.getPredefinedCursor(Cursor.HAND_CURSOR) );	    }	super.processMouseMotionEvent(e);    }