Java - Set Default button

This will focus on setButton when user open the windows.
getRootPane().setDefaultButton(setButton);

Default focus will be set to setButton in current working frame.

Comments

Popular posts from this blog

Git reset to HEAD from cherry-pick

input stream or file to X509Certificate

How to rebase chain of git changes on master ?