Skip to content

Commit

Permalink
Set focus on OK button in LoginDialog (#1362)
Browse files Browse the repository at this point in the history
  • Loading branch information
ubuntolog authored Jul 19, 2023
1 parent 337d8cc commit cb0bb81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/broad/igv/util/LoginDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ public void actionPerformed(ActionEvent e) {
okButtonActionPerformed(e);
}
});
this.getRootPane().setDefaultButton(okButton);
buttonBar.add(okButton, new GridBagConstraints(1, 0, 1, 1, 0.0, 0.0,
GridBagConstraints.CENTER, GridBagConstraints.BOTH,
new Insets(0, 0, 0, 5), 0, 0));
Expand Down

0 comments on commit cb0bb81

Please sign in to comment.