|
@@ -119,13 +119,20 @@ public abstract class InputTextFrame extends TextFrame implements InputWindow,
|
119
|
119
|
/** {@inheritDoc} */
|
120
|
120
|
@Override
|
121
|
121
|
public void open() {
|
122
|
|
- super.open();
|
123
|
|
- if (getConfigManager().getOptionBool("ui", "awayindicator") && getContainer().
|
124
|
|
- getServer() != null) {
|
125
|
|
- awayLabel.setVisible(getContainer().getServer().isAway());
|
126
|
|
- }
|
|
122
|
+ UIUtilities.invokeLater(new Runnable() {
|
|
123
|
+
|
|
124
|
+ /** {@inheritDoc} */
|
|
125
|
+ @Override
|
|
126
|
+ public void run() {
|
|
127
|
+ InputTextFrame.super.open();
|
|
128
|
+ if (getConfigManager().getOptionBool("ui", "awayindicator") && getContainer().
|
|
129
|
+ getServer() != null) {
|
|
130
|
+ awayLabel.setVisible(getContainer().getServer().isAway());
|
|
131
|
+ }
|
127
|
132
|
|
128
|
|
- inputField.requestFocusInWindow();
|
|
133
|
+ inputField.requestFocusInWindow();
|
|
134
|
+ }
|
|
135
|
+ });
|
129
|
136
|
}
|
130
|
137
|
|
131
|
138
|
/**
|