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

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部