title: Starting in a text field, using Swing
body: <p>I made a login dialog with JTextField and JPasswordField. However, right now when the popup shows that the "OK" button is highlighted. I want it to start on the username input box as soon as the popup shows. I've looked at many different methods but none of them seem to work. How might I do this?</p>