[英]How can I intercept mouse events outside a Java modal dialog,
I have a modal dialog in Java and want to know when the user clicks outside the dialog (on another window in the application) instead of just having it go "blong" and flash the border. 我在Java中有一个模式对话框,想知道用户何时在对话框外(在应用程序的另一个窗口中)单击,而不是只是将其变宽并闪烁边框。 For such things as picking a color etc etc. 对于诸如选择颜色等的事物
使对话框成为非模式对话框,您仍然可以与应用程序的其余部分进行交互。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.