mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-10-26 14:00:08 +00:00
host text box is now always selected regardless of OS
This commit is contained in:
1 parent
944d5dfeff
commit
d9122cb1ff
1 file changed
+2
@@ -53,6 +53,8 @@ public class MainFrame {
|
|||||||
hostField.setMaximumSize(new Dimension(Integer.MAX_VALUE, 24));
|
hostField.setMaximumSize(new Dimension(Integer.MAX_VALUE, 24));
|
||||||
hostField.setToolTipText("Enter host name or IP address");
|
hostField.setToolTipText("Enter host name or IP address");
|
||||||
hostField.setText("GeForce PC host");
|
hostField.setText("GeForce PC host");
|
||||||
|
hostField.setSelectionStart(0);
|
||||||
|
hostField.setSelectionEnd(hostField.getText().length());
|
||||||
|
|
||||||
stream = new JButton("Start Streaming");
|
stream = new JButton("Start Streaming");
|
||||||
stream.addActionListener(createStreamButtonListener());
|
stream.addActionListener(createStreamButtonListener());
|
||||||
|
|||||||
Reference in new issue
Block a user