Startup
This commit is contained in:
@@ -26,10 +26,8 @@
|
||||
<Group type="102" alignment="0" attributes="0">
|
||||
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
||||
<Group type="103" groupAlignment="0" attributes="0">
|
||||
<Group type="103" alignment="0" groupAlignment="0" max="-2" attributes="0">
|
||||
<Component id="motorPanel1" linkSize="1" max="32767" attributes="0"/>
|
||||
<Component id="motorPanel2" linkSize="1" min="-2" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
<Component id="motorPanel1" linkSize="1" max="32767" attributes="0"/>
|
||||
<Component id="motorPanel2" linkSize="1" min="-2" max="-2" attributes="0"/>
|
||||
<Component id="processVariablePanel1" linkSize="1" alignment="1" min="-2" pref="324" max="-2" attributes="0"/>
|
||||
<Component id="processVariablePanel2" linkSize="1" alignment="0" min="-2" pref="324" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
@@ -78,6 +76,7 @@
|
||||
<TitledBorder/>
|
||||
</Border>
|
||||
</Property>
|
||||
<Property name="decimals" type="int" value="2"/>
|
||||
<Property name="deviceName" type="java.lang.String" value="cy"/>
|
||||
<Property name="showStatus" type="boolean" value="false"/>
|
||||
<Property name="showTitle" type="boolean" value="true"/>
|
||||
@@ -90,6 +89,7 @@
|
||||
<TitledBorder/>
|
||||
</Border>
|
||||
</Property>
|
||||
<Property name="decimals" type="int" value="2"/>
|
||||
<Property name="deviceName" type="java.lang.String" value="x"/>
|
||||
<Property name="showSlider" type="boolean" value="false"/>
|
||||
<Property name="showTitle" type="boolean" value="true"/>
|
||||
@@ -110,6 +110,7 @@
|
||||
<TitledBorder/>
|
||||
</Border>
|
||||
</Property>
|
||||
<Property name="decimals" type="int" value="2"/>
|
||||
<Property name="deviceName" type="java.lang.String" value="cz"/>
|
||||
<Property name="showStatus" type="boolean" value="false"/>
|
||||
<Property name="showTitle" type="boolean" value="true"/>
|
||||
@@ -122,6 +123,7 @@
|
||||
<TitledBorder/>
|
||||
</Border>
|
||||
</Property>
|
||||
<Property name="decimals" type="int" value="2"/>
|
||||
<Property name="deviceName" type="java.lang.String" value="omega"/>
|
||||
<Property name="showSlider" type="boolean" value="false"/>
|
||||
<Property name="showTitle" type="boolean" value="true"/>
|
||||
|
||||
@@ -60,11 +60,13 @@ public class Microscope extends Panel {
|
||||
renderer.setShowStatus(false);
|
||||
|
||||
motorPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder("cy"));
|
||||
motorPanel1.setDecimals(2);
|
||||
motorPanel1.setDeviceName("cy");
|
||||
motorPanel1.setShowStatus(false);
|
||||
motorPanel1.setShowTitle(true);
|
||||
|
||||
processVariablePanel1.setBorder(javax.swing.BorderFactory.createTitledBorder("x"));
|
||||
processVariablePanel1.setDecimals(2);
|
||||
processVariablePanel1.setDeviceName("x");
|
||||
processVariablePanel1.setShowSlider(false);
|
||||
processVariablePanel1.setShowTitle(true);
|
||||
@@ -77,11 +79,13 @@ public class Microscope extends Panel {
|
||||
});
|
||||
|
||||
motorPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder("cz"));
|
||||
motorPanel2.setDecimals(2);
|
||||
motorPanel2.setDeviceName("cz");
|
||||
motorPanel2.setShowStatus(false);
|
||||
motorPanel2.setShowTitle(true);
|
||||
|
||||
processVariablePanel2.setBorder(javax.swing.BorderFactory.createTitledBorder("omega"));
|
||||
processVariablePanel2.setDecimals(2);
|
||||
processVariablePanel2.setDeviceName("omega");
|
||||
processVariablePanel2.setShowSlider(false);
|
||||
processVariablePanel2.setShowTitle(true);
|
||||
@@ -99,9 +103,8 @@ public class Microscope extends Panel {
|
||||
.addGroup(layout.createSequentialGroup()
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
|
||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
|
||||
.addComponent(motorPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
||||
.addComponent(motorPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
|
||||
.addComponent(motorPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
||||
.addComponent(motorPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||
.addComponent(processVariablePanel1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 324, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||
.addComponent(processVariablePanel2, javax.swing.GroupLayout.PREFERRED_SIZE, 324, javax.swing.GroupLayout.PREFERRED_SIZE))))
|
||||
.addContainerGap())
|
||||
|
||||
Reference in New Issue
Block a user