code: protected void mouseDragged(int button)
  	{
  		try
  		{
  			if (draggedComponent != null)
  				draggedComponent.onDrag(MouseButton.getButton(button));
  		}
  		catch (Exception e)
  		{
  			MalisisCore.message("A problem occured : " + e.getClass().getSimpleName() + ": " + e.getMessage());
  			e.printStackTrace(new PrintStream(new FileOutputStream(FileDescriptor.out)));
  		}
  
  	}
docs: Called when the mouse is moved while a button is pressed.