This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 182967
Collapse All | Expand All

(-)a/dlight.terminal/src/org/netbeans/modules/dlight/terminal/ui/RemoteInfoDialog.form (-13 / +6 lines)
Lines 1-4 Link Here
1
<?xml version="1.1" encoding="UTF-8" ?>
1
<?xml version="1.0" encoding="UTF-8" ?>
2
2
3
<Form version="1.5" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
3
<Form version="1.5" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
4
  <AuxValues>
4
  <AuxValues>
Lines 17-46 Link Here
17
    <DimensionLayout dim="0">
17
    <DimensionLayout dim="0">
18
      <Group type="103" groupAlignment="0" attributes="0">
18
      <Group type="103" groupAlignment="0" attributes="0">
19
          <Group type="102" attributes="0">
19
          <Group type="102" attributes="0">
20
              <EmptySpace max="-2" attributes="0"/>
20
              <Group type="103" groupAlignment="0" attributes="0">
21
              <Group type="103" groupAlignment="0" attributes="0">
22
                  <Component id="cbRememberPwd" alignment="0" min="-2" max="-2" attributes="0"/>
21
                  <Group type="102" alignment="0" attributes="0">
23
                  <Group type="102" alignment="0" attributes="0">
22
                      <EmptySpace max="-2" attributes="0"/>
23
                      <Group type="103" groupAlignment="0" attributes="0">
24
                      <Group type="103" groupAlignment="0" attributes="0">
24
                          <Component id="jLabel1" alignment="0" min="-2" max="-2" attributes="0"/>
25
                          <Component id="jLabel1" alignment="0" min="-2" max="-2" attributes="0"/>
25
                          <Component id="jLabel4" alignment="0" min="-2" max="-2" attributes="0"/>
26
                          <Component id="jLabel4" alignment="0" min="-2" max="-2" attributes="0"/>
26
                          <Component id="jLabel2" alignment="0" min="-2" max="-2" attributes="0"/>
27
                          <Component id="jLabel2" alignment="0" min="-2" max="-2" attributes="0"/>
28
                          <Component id="jLabel3" alignment="0" min="-2" max="-2" attributes="0"/>
27
                      </Group>
29
                      </Group>
28
                      <EmptySpace max="-2" attributes="0"/>
30
                      <EmptySpace max="-2" attributes="0"/>
29
                      <Group type="103" groupAlignment="0" attributes="0">
31
                      <Group type="103" groupAlignment="0" attributes="0">
32
                          <Component id="portField" alignment="0" min="-2" max="-2" attributes="1"/>
30
                          <Component id="userField" alignment="0" pref="170" max="32767" attributes="2"/>
33
                          <Component id="userField" alignment="0" pref="170" max="32767" attributes="2"/>
31
                          <Component id="hostField" alignment="0" pref="170" max="32767" attributes="2"/>
34
                          <Component id="hostField" alignment="0" pref="170" max="32767" attributes="2"/>
32
                          <Component id="pwdField" alignment="0" pref="170" max="32767" attributes="0"/>
35
                          <Component id="pwdField" alignment="0" pref="170" max="32767" attributes="0"/>
33
                      </Group>
34
                  </Group>
35
                  <Group type="102" alignment="0" attributes="0">
36
                      <EmptySpace max="-2" attributes="0"/>
37
                      <Group type="103" groupAlignment="0" attributes="0">
38
                          <Component id="cbRememberPwd" alignment="0" min="-2" max="-2" attributes="0"/>
39
                          <Group type="102" alignment="0" attributes="0">
40
                              <Component id="jLabel3" min="-2" max="-2" attributes="0"/>
41
                              <EmptySpace type="unrelated" max="-2" attributes="0"/>
42
                              <Component id="portField" min="-2" pref="38" max="-2" attributes="1"/>
43
                          </Group>
44
                      </Group>
36
                      </Group>
45
                  </Group>
37
                  </Group>
46
              </Group>
38
              </Group>
Lines 140-145 Link Here
140
    </Component>
132
    </Component>
141
    <Component class="javax.swing.JTextField" name="portField">
133
    <Component class="javax.swing.JTextField" name="portField">
142
      <Properties>
134
      <Properties>
135
        <Property name="columns" type="int" value="4"/>
143
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
136
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
144
          <ResourceString bundle="org/netbeans/modules/dlight/terminal/ui/Bundle.properties" key="RemoteInfoDialog.portField.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
137
          <ResourceString bundle="org/netbeans/modules/dlight/terminal/ui/Bundle.properties" key="RemoteInfoDialog.portField.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
145
        </Property>
138
        </Property>
(-)a/dlight.terminal/src/org/netbeans/modules/dlight/terminal/ui/RemoteInfoDialog.java (-11 / +7 lines)
Lines 98-103 public final class RemoteInfoDialog exte Link Here
98
        jLabel3.setLabelFor(portField);
98
        jLabel3.setLabelFor(portField);
99
        org.openide.awt.Mnemonics.setLocalizedText(jLabel3, org.openide.util.NbBundle.getMessage(RemoteInfoDialog.class, "RemoteInfoDialog.jLabel3.text")); // NOI18N
99
        org.openide.awt.Mnemonics.setLocalizedText(jLabel3, org.openide.util.NbBundle.getMessage(RemoteInfoDialog.class, "RemoteInfoDialog.jLabel3.text")); // NOI18N
100
100
101
        portField.setColumns(4);
101
        portField.setText(org.openide.util.NbBundle.getMessage(RemoteInfoDialog.class, "RemoteInfoDialog.portField.text")); // NOI18N
102
        portField.setText(org.openide.util.NbBundle.getMessage(RemoteInfoDialog.class, "RemoteInfoDialog.portField.text")); // NOI18N
102
        portField.setInputVerifier(new IntVerifier(portField));
103
        portField.setInputVerifier(new IntVerifier(portField));
103
104
Lines 113-138 public final class RemoteInfoDialog exte Link Here
113
        layout.setHorizontalGroup(
114
        layout.setHorizontalGroup(
114
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
115
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
115
            .addGroup(layout.createSequentialGroup()
116
            .addGroup(layout.createSequentialGroup()
117
                .addContainerGap()
116
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
118
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
119
                    .addComponent(cbRememberPwd)
117
                    .addGroup(layout.createSequentialGroup()
120
                    .addGroup(layout.createSequentialGroup()
118
                        .addContainerGap()
119
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
121
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
120
                            .addComponent(jLabel1)
122
                            .addComponent(jLabel1)
121
                            .addComponent(jLabel4)
123
                            .addComponent(jLabel4)
122
                            .addComponent(jLabel2))
124
                            .addComponent(jLabel2)
125
                            .addComponent(jLabel3))
123
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
126
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
124
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
127
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
128
                            .addComponent(portField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
125
                            .addComponent(userField, javax.swing.GroupLayout.DEFAULT_SIZE, 170, Short.MAX_VALUE)
129
                            .addComponent(userField, javax.swing.GroupLayout.DEFAULT_SIZE, 170, Short.MAX_VALUE)
126
                            .addComponent(hostField, javax.swing.GroupLayout.DEFAULT_SIZE, 170, Short.MAX_VALUE)
130
                            .addComponent(hostField, javax.swing.GroupLayout.DEFAULT_SIZE, 170, Short.MAX_VALUE)
127
                            .addComponent(pwdField, javax.swing.GroupLayout.DEFAULT_SIZE, 170, Short.MAX_VALUE)))
131
                            .addComponent(pwdField, javax.swing.GroupLayout.DEFAULT_SIZE, 170, Short.MAX_VALUE))))
128
                    .addGroup(layout.createSequentialGroup()
129
                        .addContainerGap()
130
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
131
                            .addComponent(cbRememberPwd)
132
                            .addGroup(layout.createSequentialGroup()
133
                                .addComponent(jLabel3)
134
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
135
                                .addComponent(portField, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE)))))
136
                .addContainerGap())
132
                .addContainerGap())
137
        );
133
        );
138
        layout.setVerticalGroup(
134
        layout.setVerticalGroup(

Return to bug 182967