Provide labelFor

This commit is contained in:
Maxim.Kolmakov
2017-10-06 12:03:14 +02:00
parent 286e0a0dea
commit f1a8a8670b
2 changed files with 3 additions and 1 deletions
@@ -22,7 +22,7 @@
<text resource-bundle="messages/XmlBundle" key="setting.value.can.accept.external.connections"/>
</properties>
</component>
<component id="2c830" class="javax.swing.JLabel">
<component id="2c830" class="javax.swing.JLabel" binding="portLabel">
<constraints>
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
@@ -12,8 +12,10 @@ class BuiltInServerConfigurableUi implements ConfigurableUi<BuiltInServerOptions
private PortField builtInServerPort;
private JCheckBox builtInServerAvailableExternallyCheckBox;
private JCheckBox allowUnsignedRequestsCheckBox;
private JLabel portLabel;
public BuiltInServerConfigurableUi() {
portLabel.setLabelFor(builtInServerPort);
builtInServerPort.setMin(1024);
}