Module java.desktop

Class BasicDesktopIconUI.MouseInputHandler

    • Constructor Detail

      • MouseInputHandler

        public MouseInputHandler()
    • Method Detail

      • moveAndRepaint

        public void moveAndRepaint​(JComponent f,
                                   int newX,
                                   int newY,
                                   int newWidth,
                                   int newHeight)
        Moves and repaints a component f.
        Parameters:
        f - a component
        newX - a new X coordinate
        newY - a new Y coordinate
        newWidth - a new width
        newHeight - a new height