public void mouseDragged(MouseEvent e) {	
		
		if (isResizeInProgress()){
			if (resizeDirection == Cursor.SE_RESIZE_CURSOR){
				setBounds( this.getBounds().x, this.getBounds().y, e.getX(), e.getY() );
			} else if (resizeDirection == Cursor.E_RESIZE_CURSOR){
				setBounds( this.getBounds().x, this.getBounds().y, e.getX(), this.getBounds().height );
			} else if (resizeDirection == Cursor.S_RESIZE_CURSOR){
				setBounds( this.getBounds().x, this.getBounds().y, this.getBounds().width, e.getY() );
			} else if (resizeDirection == Cursor.N_RESIZE_CURSOR){
				setBounds( this.getBounds().x, this.getBounds().y + e.getY(), this.getBounds().width, this.getBounds().height-e.getY() );
			} else if (resizeDirection == Cursor.W_RESIZE_CURSOR){
				setBounds( this.getBounds().x+e.getX(), this.getBounds().y, this.getBounds().width-e.getX(), this.getBounds().height );
			} else if (resizeDirection == Cursor.NE_RESIZE_CURSOR){
				setBounds( this.getBounds().x, this.getBounds().y + e.getY(), e.getX(), this.getBounds().height-e.getY() );
			} else if (resizeDirection == Cursor.SW_RESIZE_CURSOR){ 
				setBounds(this.getBounds().x+e.getX(), this.getBounds().y, this.getBounds().width-e.getX(), e.getY() );
			} else if (resizeDirection == Cursor.NW_RESIZE_CURSOR){
				setBounds( this.getBounds().x+e.getX(), this.getBounds().y + e.getY(), this.getBounds().width-e.getX(), this.getBounds().height-e.getY() );
			}
		} else {
			/* Do nada */
		}
	}