Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Focus components consistently inside dialogs #228

Conversation

fourcube
Copy link
Contributor

@fourcube fourcube commented Jul 8, 2015

Focusing components inside dialogs is not consistent across various
operating systems and window managers. Overriding the selectInitialValue
method of JOptionPane should disable the behaviour that automatically
puts the focus on the OK button of a dialog window.

I've tested this on Windows 7, MacOS 10.10 and Ubuntu 15.10.

Implements #227.

Focusing components inside dialogs is not consistent across various
operating systems and window managers. Overriding the selectInitialValue
method of JOptionPane should disable the behaviour that automatically
puts the focus on the OK button of a dialog window.
matthewhorridge added a commit that referenced this pull request Sep 2, 2015
Focus components consistently inside dialogs
@matthewhorridge matthewhorridge merged commit 0410bf8 into protegeproject:master Sep 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants