mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-22 16:16:39 +00:00
host text box is now always selected regardless of OS
This commit is contained in:
@@ -53,7 +53,9 @@ 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());
|
||||||
stream.setToolTipText("Start the GeForce stream");
|
stream.setToolTipText("Start the GeForce stream");
|
||||||
|
|||||||
Reference in New Issue
Block a user