简体   繁体   中英

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. For such things as picking a color etc etc.

使对话框成为非模式对话框,您仍然可以与应用程序的其余部分进行交互。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM