Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.73K
1 Posted Topic
Copy and paste the code below to your Main class. So call configureOptionPane() at your main method. Also use UIManager.put("Button.defaultButtonFollowsFocus", Boolean.TRUE) to make enter follows focus. Example: [CODE] public static void main(String[] args) { UIManager.put("Button.defaultButtonFollowsFocus", Boolean.TRUE); configureOptionPane(); } [/CODE] [CODE] private static void configureOptionPane() { if(UIManager.getLookAndFeelDefaults().get("OptionPane.actionMap") == null) { UIManager.put("OptionPane.windowBindings", …
The End.
viniciusmss