1
0
mirror of https://github.com/DanilaFe/abacus synced 2026-01-10 17:25:19 +00:00

Focus on the text field on startup.

This commit is contained in:
2017-07-30 21:25:21 -07:00
parent f400f9f464
commit cb787c7e25

View File

@@ -247,4 +247,9 @@ public class Window extends JFrame {
});
}
@Override
public void setVisible(boolean b) {
super.setVisible(b);
if(b) inputField.requestFocusInWindow();
}
}