Skip to content

Commit 8237e23

Browse files
committed
Create a CommandStationPanel
1 parent 1db2d99 commit 8237e23

File tree

6 files changed

+6285
-3871
lines changed

6 files changed

+6285
-3871
lines changed

src/main/java/jcs/ui/settings/CommandStationDialog.form

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
</NonVisualComponents>
88
<Properties>
99
<Property name="defaultCloseOperation" type="int" value="2"/>
10+
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
11+
<Dimension value="[1400, 690]"/>
12+
</Property>
1013
</Properties>
1114
<SyntheticProperties>
1215
<SyntheticProperty name="formSizePolicy" type="int" value="1"/>
@@ -22,7 +25,7 @@
2225
<AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
2326
<AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
2427
<AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
25-
<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,2,88,0,0,5,126"/>
28+
<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,2,88,0,0,5,120"/>
2629
</AuxValues>
2730

2831
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
@@ -484,7 +487,7 @@
484487
<Layout>
485488
<DimensionLayout dim="0">
486489
<Group type="103" groupAlignment="0" attributes="0">
487-
<EmptySpace min="0" pref="1406" max="32767" attributes="0"/>
490+
<EmptySpace min="0" pref="1400" max="32767" attributes="0"/>
488491
</Group>
489492
</DimensionLayout>
490493
<DimensionLayout dim="1">

src/main/java/jcs/ui/settings/CommandStationDialog.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ private void initComponents() {
229229
devicesTree = new javax.swing.JTree();
230230

231231
setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
232+
setPreferredSize(new java.awt.Dimension(1400, 690));
232233

233234
jcs.ui.swing.layout.VerticalFlowLayout verticalFlowLayout1 = new jcs.ui.swing.layout.VerticalFlowLayout();
234235
verticalFlowLayout1.sethAlignment(0);
@@ -384,7 +385,7 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
384385
jPanel3.setLayout(jPanel3Layout);
385386
jPanel3Layout.setHorizontalGroup(
386387
jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
387-
.addGap(0, 1406, Short.MAX_VALUE)
388+
.addGap(0, 1400, Short.MAX_VALUE)
388389
);
389390
jPanel3Layout.setVerticalGroup(
390391
jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)

0 commit comments

Comments
 (0)