JavaFX Ctrl+鼠标点击事件

            node.setOnMouseClicked(mouseEvent -> {
                if (!mouseEvent.isControlDown()) {
                    return;
                }

                // 操作
            });
发布了388 篇原创文章 · 获赞 105 · 访问量 31万+

猜你喜欢

转载自blog.csdn.net/haoranhaoshi/article/details/105104101