Skip to content

Commit 51e2ecb

Browse files
committed
Interface changes + StatusServerFrame deprecated + fixes
1 parent c76d994 commit 51e2ecb

3 files changed

Lines changed: 70 additions & 103 deletions

File tree

src/main/java/com/devparada/frame/InitFrame.form

Lines changed: 31 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,22 @@
2727
<EmptySpace max="32767" attributes="0"/>
2828
</Group>
2929
<Group type="102" alignment="0" attributes="0">
30-
<EmptySpace min="-2" pref="89" max="-2" attributes="0"/>
30+
<EmptySpace pref="94" max="32767" attributes="0"/>
3131
<Component id="jBtnAdd" min="-2" pref="171" max="-2" attributes="0"/>
32-
<EmptySpace pref="99" max="32767" attributes="0"/>
32+
<EmptySpace pref="94" max="32767" attributes="0"/>
3333
</Group>
3434
</Group>
3535
</DimensionLayout>
3636
<DimensionLayout dim="1">
3737
<Group type="103" groupAlignment="0" attributes="0">
3838
<Group type="102" alignment="0" attributes="0">
39-
<EmptySpace pref="33" max="32767" attributes="0"/>
39+
<EmptySpace pref="24" max="32767" attributes="0"/>
4040
<Component id="jLblAdd" min="-2" max="-2" attributes="0"/>
41-
<EmptySpace min="-2" pref="29" max="-2" attributes="0"/>
41+
<EmptySpace pref="29" max="32767" attributes="0"/>
4242
<Component id="jTxtAdd" min="-2" max="-2" attributes="0"/>
4343
<EmptySpace pref="29" max="32767" attributes="0"/>
4444
<Component id="jBtnAdd" min="-2" max="-2" attributes="0"/>
45-
<EmptySpace pref="23" max="32767" attributes="0"/>
45+
<EmptySpace pref="24" max="32767" attributes="0"/>
4646
</Group>
4747
</Group>
4848
</DimensionLayout>
@@ -75,7 +75,7 @@
7575
<Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
7676
<Color blue="33" green="cc" red="0" type="rgb"/>
7777
</Property>
78-
<Property name="text" type="java.lang.String" value="+ Add"/>
78+
<Property name="text" type="java.lang.String" value="Add server"/>
7979
</Properties>
8080
<Events>
8181
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jBtnAddActionPerformed"/>
@@ -112,9 +112,7 @@
112112
<AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,0,-85,0,0,1,-29"/>
113113
</AuxValues>
114114

115-
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignBoxLayout">
116-
<Property name="axis" type="int" value="1"/>
117-
</Layout>
115+
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignBoxLayout"/>
118116
<SubComponents>
119117
<Container class="javax.swing.JScrollPane" name="jScrollPane">
120118
<Properties>
@@ -139,68 +137,59 @@
139137
<Layout>
140138
<DimensionLayout dim="0">
141139
<Group type="103" groupAlignment="0" attributes="0">
142-
<Group type="102" attributes="0">
140+
<Group type="102" alignment="0" attributes="0">
141+
<EmptySpace pref="162" max="32767" attributes="0"/>
142+
<Component id="jBtnIntroAdd" min="-2" pref="154" max="-2" attributes="0"/>
143+
<EmptySpace pref="164" max="32767" attributes="0"/>
144+
</Group>
145+
<Group type="102" alignment="0" attributes="0">
146+
<EmptySpace max="32767" attributes="0"/>
147+
<Component id="jLblIntro" max="32767" attributes="0"/>
143148
<EmptySpace max="32767" attributes="0"/>
144-
<Group type="103" groupAlignment="0" attributes="0">
145-
<Group type="102" alignment="1" attributes="0">
146-
<Component id="jLblIntro" min="-2" pref="265" max="-2" attributes="0"/>
147-
<EmptySpace min="-2" pref="53" max="-2" attributes="0"/>
148-
<Component id="jBtnStatus" min="-2" pref="104" max="-2" attributes="0"/>
149-
</Group>
150-
<Component id="jBtnIntroAdd" alignment="1" min="-2" pref="122" max="-2" attributes="0"/>
151-
</Group>
152-
<EmptySpace min="129" pref="129" max="-2" attributes="0"/>
153149
</Group>
154150
</Group>
155151
</DimensionLayout>
156152
<DimensionLayout dim="1">
157153
<Group type="103" groupAlignment="0" attributes="0">
158-
<Group type="102" alignment="1" attributes="0">
159-
<EmptySpace pref="58" max="32767" attributes="0"/>
160-
<Group type="103" groupAlignment="3" attributes="0">
161-
<Component id="jLblIntro" alignment="3" min="-2" pref="30" max="-2" attributes="0"/>
162-
<Component id="jBtnStatus" alignment="3" min="-2" pref="30" max="-2" attributes="0"/>
163-
</Group>
164-
<EmptySpace pref="43" max="32767" attributes="0"/>
154+
<Group type="102" alignment="0" attributes="0">
155+
<EmptySpace min="-2" pref="25" max="-2" attributes="0"/>
165156
<Component id="jBtnIntroAdd" min="-2" max="-2" attributes="0"/>
166-
<EmptySpace max="32767" attributes="0"/>
157+
<EmptySpace type="separate" max="-2" attributes="0"/>
158+
<Component id="jLblIntro" min="-2" pref="30" max="-2" attributes="0"/>
159+
<EmptySpace pref="36" max="32767" attributes="0"/>
167160
</Group>
168161
</Group>
169162
</DimensionLayout>
170163
</Layout>
171164
<SubComponents>
172-
<Component class="javax.swing.JButton" name="jBtnIntroAdd">
173-
<Properties>
174-
<Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
175-
<Color blue="33" green="cc" red="0" type="rgb"/>
176-
</Property>
177-
<Property name="text" type="java.lang.String" value="+"/>
178-
</Properties>
179-
<Events>
180-
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jBtnIntroAddActionPerformed"/>
181-
</Events>
182-
</Component>
183165
<Component class="javax.swing.JTextField" name="jLblIntro">
184166
<Properties>
185167
<Property name="editable" type="boolean" value="false"/>
186168
<Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
187169
<Color blue="df" green="d9" red="d6" type="rgb"/>
188170
</Property>
171+
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
172+
<Font name="Dialog" size="22" style="0"/>
173+
</Property>
189174
<Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
190175
<Color blue="0" green="0" red="0" type="rgb"/>
191176
</Property>
192-
<Property name="text" type="java.lang.String" value="Click the + button to add more servers:"/>
177+
<Property name="horizontalAlignment" type="int" value="0"/>
178+
<Property name="text" type="java.lang.String" value="Status Servers"/>
193179
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
194180
<Border info="null"/>
195181
</Property>
196182
</Properties>
197183
</Component>
198-
<Component class="javax.swing.JButton" name="jBtnStatus">
184+
<Component class="javax.swing.JButton" name="jBtnIntroAdd">
199185
<Properties>
200-
<Property name="text" type="java.lang.String" value="StatusFrame"/>
186+
<Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
187+
<Color blue="33" green="cc" red="0" type="rgb"/>
188+
</Property>
189+
<Property name="text" type="java.lang.String" value="Add server"/>
201190
</Properties>
202191
<Events>
203-
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jBtnStatusActionPerformed"/>
192+
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jBtnIntroAddActionPerformed"/>
204193
</Events>
205194
</Component>
206195
</SubComponents>

0 commit comments

Comments
 (0)