errael commented on PR #4739: URL: https://github.com/apache/netbeans/pull/4739#issuecomment-1281501028
> Other than that,`DialogDisplayerImpl` and `FileChooserBuilder` have slightly different approaches @neilcsmith-net, taking a look at DialogDisplayerImpl, in one case it use `KeyboardFocusManager.getActiveWindow()` which is similar; but it also checks several more cases. And I can't figure out when/how AWTQuery is used. I'm thinking now that for local choices, JOptionPane is actually a better choice (particularly with `findDialogParent()`). In my tests, when I click on a button, the `JOptionPane` dialog shows up right under the mouse cursor; very nice. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
