Skip to content

Commit 9ddd026

Browse files
committed
Delete server OK + design improvements
1 parent 879415c commit 9ddd026

2 files changed

Lines changed: 133 additions & 98 deletions

File tree

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

Lines changed: 60 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,15 @@
2020
<Group type="103" groupAlignment="0" attributes="0">
2121
<Group type="102" attributes="0">
2222
<EmptySpace max="32767" attributes="0"/>
23-
<Group type="103" groupAlignment="0" max="-2" attributes="0">
24-
<Component id="jTxtAdd" max="32767" attributes="0"/>
25-
<Component id="jLblAdd" pref="293" max="32767" attributes="0"/>
23+
<Group type="103" groupAlignment="0" attributes="0">
24+
<Group type="103" alignment="0" groupAlignment="0" max="-2" attributes="0">
25+
<Component id="jTxtAdd" max="32767" attributes="0"/>
26+
<Component id="jLblAdd" pref="293" max="32767" attributes="0"/>
27+
</Group>
28+
<Component id="jBtnAdd" alignment="0" min="-2" pref="171" max="-2" attributes="0"/>
2629
</Group>
2730
<EmptySpace max="32767" attributes="0"/>
2831
</Group>
29-
<Group type="102" alignment="0" attributes="0">
30-
<EmptySpace pref="94" max="32767" attributes="0"/>
31-
<Component id="jBtnAdd" min="-2" pref="171" max="-2" attributes="0"/>
32-
<EmptySpace pref="94" max="32767" attributes="0"/>
33-
</Group>
3432
</Group>
3533
</DimensionLayout>
3634
<DimensionLayout dim="1">
@@ -87,6 +85,9 @@
8785
<Properties>
8886
<Property name="defaultCloseOperation" type="int" value="3"/>
8987
<Property name="title" type="java.lang.String" value="StatusMCServerTool"/>
88+
<Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
89+
<Color blue="2a" green="1b" red="d" type="rgb"/>
90+
</Property>
9091
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
9192
<Dimension value="[759, 403]"/>
9293
</Property>
@@ -109,7 +110,7 @@
109110
<AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
110111
<AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
111112
<AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
112-
<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"/>
113+
<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,-124,0,0,1,-29"/>
113114
</AuxValues>
114115

115116
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignBoxLayout"/>
@@ -122,84 +123,102 @@
122123
<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
123124
<SubComponents>
124125
<Container class="javax.swing.JPanel" name="jPnlMain">
126+
<Properties>
127+
<Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
128+
<Color blue="ff" green="33" red="33" type="rgb"/>
129+
</Property>
130+
</Properties>
125131

126132
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignBoxLayout">
127133
<Property name="axis" type="int" value="1"/>
128134
</Layout>
129135
<SubComponents>
130136
<Container class="javax.swing.JPanel" name="jPanelIntro">
131137
<Properties>
138+
<Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
139+
<Color blue="3b" green="26" red="1b" type="rgb"/>
140+
</Property>
132141
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
133-
<Dimension value="[480, 168]"/>
142+
<Dimension value="[480, 60]"/>
134143
</Property>
135144
</Properties>
136145

137146
<Layout>
138147
<DimensionLayout dim="0">
139148
<Group type="103" groupAlignment="0" 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"/>
148-
<EmptySpace max="32767" attributes="0"/>
149+
<Group type="102" attributes="0">
150+
<EmptySpace pref="163" max="32767" attributes="0"/>
151+
<Group type="103" groupAlignment="0" max="-2" attributes="0">
152+
<Component id="jBtnIntroAdd" pref="154" max="32767" attributes="0"/>
153+
<Component id="jLblLoading" max="32767" attributes="0"/>
154+
</Group>
155+
<EmptySpace pref="163" max="32767" attributes="0"/>
149156
</Group>
150157
</Group>
151158
</DimensionLayout>
152159
<DimensionLayout dim="1">
153160
<Group type="103" groupAlignment="0" attributes="0">
154-
<Group type="102" alignment="0" attributes="0">
155-
<EmptySpace min="-2" pref="25" max="-2" attributes="0"/>
161+
<Group type="102" alignment="1" attributes="0">
162+
<EmptySpace min="-2" pref="27" max="-2" attributes="0"/>
156163
<Component id="jBtnIntroAdd" min="-2" max="-2" 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"/>
164+
<EmptySpace type="unrelated" max="-2" attributes="0"/>
165+
<Component id="jLblLoading" min="-2" max="-2" attributes="0"/>
166+
<EmptySpace pref="32" max="32767" attributes="0"/>
160167
</Group>
161168
</Group>
162169
</DimensionLayout>
163170
</Layout>
164171
<SubComponents>
165-
<Component class="javax.swing.JTextField" name="jLblIntro">
172+
<Component class="javax.swing.JButton" name="jBtnIntroAdd">
166173
<Properties>
167-
<Property name="editable" type="boolean" value="false"/>
168174
<Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
169-
<Color blue="df" green="d9" red="d6" type="rgb"/>
170-
</Property>
171-
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
172-
<Font name="Dialog" size="22" style="0"/>
175+
<Color blue="0" green="ff" red="7f" type="rgb"/>
173176
</Property>
174177
<Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
175178
<Color blue="0" green="0" red="0" type="rgb"/>
176179
</Property>
177-
<Property name="horizontalAlignment" type="int" value="0"/>
178-
<Property name="text" type="java.lang.String" value="Status Servers"/>
179-
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
180-
<Border info="null"/>
180+
<Property name="text" type="java.lang.String" value="Add server"/>
181+
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
182+
<Dimension value="[150, 40]"/>
183+
</Property>
184+
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
185+
<Dimension value="[150, 40]"/>
186+
</Property>
187+
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
188+
<Dimension value="[150, 40]"/>
181189
</Property>
182190
</Properties>
191+
<Events>
192+
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jBtnIntroAddActionPerformed"/>
193+
</Events>
183194
</Component>
184-
<Component class="javax.swing.JButton" name="jBtnIntroAdd">
195+
<Component class="javax.swing.JLabel" name="jLblLoading">
185196
<Properties>
186197
<Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
187-
<Color blue="33" green="cc" red="0" type="rgb"/>
198+
<Color blue="de" green="de" red="de" type="rgb"/>
188199
</Property>
189-
<Property name="text" type="java.lang.String" value="Add server"/>
200+
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
201+
<Font name="Dialog" size="14" style="0"/>
202+
</Property>
203+
<Property name="horizontalAlignment" type="int" value="0"/>
204+
<Property name="text" type="java.lang.String" value="Loading..."/>
190205
</Properties>
191-
<Events>
192-
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jBtnIntroAddActionPerformed"/>
193-
</Events>
194206
</Component>
195207
</SubComponents>
196208
</Container>
197209
<Container class="javax.swing.JPanel" name="jPnlInfo">
210+
<Properties>
211+
<Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
212+
<Color blue="3b" green="26" red="1b" type="rgb"/>
213+
</Property>
214+
</Properties>
198215
<AuxValues>
199216
<AuxValue name="JavaCodeGenerator_CreateCodeCustom" type="java.lang.String" value="new javax.swing.JPanel()"/>
200217
</AuxValues>
201218

202-
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
219+
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignBoxLayout">
220+
<Property name="axis" type="int" value="1"/>
221+
</Layout>
203222
</Container>
204223
</SubComponents>
205224
</Container>

0 commit comments

Comments
 (0)