Subversion Repositories public

Rev

Rev 89 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 89 Rev 93
1
<?xml version="1.0" encoding="UTF-8" ?>
1
<?xml version="1.0" encoding="UTF-8" ?>
2
2
3
<Form version="1.3" maxVersion="1.3" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
3
<Form version="1.3" maxVersion="1.3" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
4
  <Properties>
4
  <Properties>
5
    <Property name="defaultCloseOperation" type="int" value="3"/>
5
    <Property name="defaultCloseOperation" type="int" value="3"/>
6
    <Property name="title" type="java.lang.String" value="LWTT"/>
6
    <Property name="title" type="java.lang.String" value="LWTT"/>
7
  </Properties>
7
  </Properties>
8
  <SyntheticProperties>
8
  <SyntheticProperties>
9
    <SyntheticProperty name="formSizePolicy" type="int" value="1"/>
9
    <SyntheticProperty name="formSizePolicy" type="int" value="1"/>
10
  </SyntheticProperties>
10
  </SyntheticProperties>
11
  <Events>
11
  <Events>
12
    <EventHandler event="windowClosing" listener="java.awt.event.WindowListener" parameters="java.awt.event.WindowEvent" handler="windowClosing"/>
12
    <EventHandler event="windowClosing" listener="java.awt.event.WindowListener" parameters="java.awt.event.WindowEvent" handler="windowClosing"/>
13
  </Events>
13
  </Events>
14
  <AuxValues>
14
  <AuxValues>
15
    <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
15
    <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
-
 
16
    <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
16
    <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
17
    <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
17
    <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
18
    <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
18
    <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="2"/>
19
    <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="2"/>
19
    <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
20
    <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
20
    <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
21
    <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
21
    <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
22
    <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
22
  </AuxValues>
23
  </AuxValues>
23
24
24
  <Layout>
25
  <Layout>
25
    <DimensionLayout dim="0">
26
    <DimensionLayout dim="0">
26
      <Group type="103" groupAlignment="0" attributes="0">
27
      <Group type="103" groupAlignment="0" attributes="0">
27
          <Component id="jSplitPane1" alignment="1" pref="572" max="32767" attributes="0"/>
28
          <Component id="jSplitPane1" alignment="1" pref="572" max="32767" attributes="0"/>
28
      </Group>
29
      </Group>
29
    </DimensionLayout>
30
    </DimensionLayout>
30
    <DimensionLayout dim="1">
31
    <DimensionLayout dim="1">
31
      <Group type="103" groupAlignment="0" attributes="0">
32
      <Group type="103" groupAlignment="0" attributes="0">
32
          <Component id="jSplitPane1" pref="441" max="32767" attributes="0"/>
33
          <Component id="jSplitPane1" pref="441" max="32767" attributes="0"/>
33
      </Group>
34
      </Group>
34
    </DimensionLayout>
35
    </DimensionLayout>
35
  </Layout>
36
  </Layout>
36
  <SubComponents>
37
  <SubComponents>
37
    <Container class="javax.swing.JSplitPane" name="jSplitPane1">
38
    <Container class="javax.swing.JSplitPane" name="jSplitPane1">
38
      <Properties>
39
      <Properties>
39
        <Property name="orientation" type="int" value="0"/>
40
        <Property name="orientation" type="int" value="0"/>
40
      </Properties>
41
      </Properties>
41
42
42
      <Layout class="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout"/>
43
      <Layout class="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout"/>
43
      <SubComponents>
44
      <SubComponents>
44
        <Container class="javax.swing.JPanel" name="jPanel1">
45
        <Container class="javax.swing.JPanel" name="jPanel1">
45
          <Properties>
46
          <Properties>
46
            <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
47
            <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
47
              <Dimension value="[10, 25]"/>
48
              <Dimension value="[10, 25]"/>
48
            </Property>
49
            </Property>
49
          </Properties>
50
          </Properties>
50
          <Constraints>
51
          <Constraints>
51
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout$JSplitPaneConstraintsDescription">
52
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout$JSplitPaneConstraintsDescription">
52
              <JSplitPaneConstraints position="top"/>
53
              <JSplitPaneConstraints position="top"/>
53
            </Constraint>
54
            </Constraint>
54
          </Constraints>
55
          </Constraints>
55
56
56
          <Layout>
57
          <Layout>
57
            <DimensionLayout dim="0">
58
            <DimensionLayout dim="0">
58
              <Group type="103" groupAlignment="0" attributes="0">
59
              <Group type="103" groupAlignment="0" attributes="0">
59
                  <Group type="102" alignment="0" attributes="0">
60
                  <Group type="102" alignment="0" attributes="0">
60
                      <Component id="startButton" min="-2" max="-2" attributes="0"/>
61
                      <Component id="startButton" min="-2" max="-2" attributes="0"/>
61
                      <EmptySpace max="-2" attributes="0"/>
62
                      <EmptySpace max="-2" attributes="0"/>
62
                      <Component id="stopButton" min="-2" max="-2" attributes="0"/>
63
                      <Component id="stopButton" min="-2" max="-2" attributes="0"/>
63
                      <EmptySpace max="-2" attributes="0"/>
64
                      <EmptySpace max="-2" attributes="0"/>
64
                      <Component id="addButton" min="-2" max="-2" attributes="0"/>
65
                      <Component id="addButton" min="-2" max="-2" attributes="0"/>
65
                      <EmptySpace max="-2" attributes="0"/>
66
                      <EmptySpace max="-2" attributes="0"/>
66
                      <Component id="removeButton" min="-2" max="-2" attributes="0"/>
67
                      <Component id="removeButton" min="-2" max="-2" attributes="0"/>
67
                      <EmptySpace max="-2" attributes="0"/>
68
                      <EmptySpace max="-2" attributes="0"/>
68
                      <Component id="resetButton" min="-2" max="-2" attributes="0"/>
69
                      <Component id="resetButton" min="-2" max="-2" attributes="0"/>
-
 
70
                      <EmptySpace max="-2" attributes="0"/>
-
 
71
                      <Component id="propsButton" min="-2" max="-2" attributes="0"/>
69
                      <EmptySpace pref="251" max="32767" attributes="0"/>
72
                      <EmptySpace pref="152" max="32767" attributes="0"/>
70
                  </Group>
73
                  </Group>
71
              </Group>
74
              </Group>
72
            </DimensionLayout>
75
            </DimensionLayout>
73
            <DimensionLayout dim="1">
76
            <DimensionLayout dim="1">
74
              <Group type="103" groupAlignment="3" attributes="0">
77
              <Group type="103" groupAlignment="3" attributes="0">
75
                  <Component id="startButton" alignment="3" pref="25" max="32767" attributes="0"/>
78
                  <Component id="startButton" alignment="3" pref="25" max="32767" attributes="0"/>
76
                  <Component id="stopButton" alignment="3" pref="25" max="32767" attributes="0"/>
79
                  <Component id="stopButton" alignment="3" pref="25" max="32767" attributes="0"/>
77
                  <Component id="addButton" alignment="3" pref="25" max="32767" attributes="0"/>
80
                  <Component id="addButton" alignment="3" pref="25" max="32767" attributes="0"/>
78
                  <Component id="removeButton" alignment="3" pref="25" max="32767" attributes="0"/>
81
                  <Component id="removeButton" alignment="3" pref="25" max="32767" attributes="0"/>
79
                  <Component id="resetButton" alignment="3" pref="25" max="32767" attributes="0"/>
82
                  <Component id="resetButton" alignment="3" pref="25" max="32767" attributes="0"/>
-
 
83
                  <Component id="propsButton" alignment="3" min="-2" max="-2" attributes="0"/>
80
              </Group>
84
              </Group>
81
            </DimensionLayout>
85
            </DimensionLayout>
82
          </Layout>
86
          </Layout>
83
          <SubComponents>
87
          <SubComponents>
84
            <Component class="javax.swing.JButton" name="startButton">
88
            <Component class="javax.swing.JButton" name="startButton">
85
              <Properties>
89
              <Properties>
86
                <Property name="text" type="java.lang.String" value="Start"/>
90
                <Property name="text" type="java.lang.String" value="Start"/>
87
              </Properties>
91
              </Properties>
88
              <Events>
92
              <Events>
89
                <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="startPressed"/>
93
                <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="startPressed"/>
90
              </Events>
94
              </Events>
91
            </Component>
95
            </Component>
92
            <Component class="javax.swing.JButton" name="stopButton">
96
            <Component class="javax.swing.JButton" name="stopButton">
93
              <Properties>
97
              <Properties>
94
                <Property name="text" type="java.lang.String" value="Stop"/>
98
                <Property name="text" type="java.lang.String" value="Stop"/>
95
              </Properties>
99
              </Properties>
96
              <Events>
100
              <Events>
97
                <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="stopPressed"/>
101
                <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="stopPressed"/>
98
              </Events>
102
              </Events>
99
            </Component>
103
            </Component>
100
            <Component class="javax.swing.JButton" name="addButton">
104
            <Component class="javax.swing.JButton" name="addButton">
101
              <Properties>
105
              <Properties>
102
                <Property name="text" type="java.lang.String" value="Add"/>
106
                <Property name="text" type="java.lang.String" value="Add"/>
103
              </Properties>
107
              </Properties>
104
              <Events>
108
              <Events>
105
                <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="addPressed"/>
109
                <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="addPressed"/>
106
              </Events>
110
              </Events>
107
            </Component>
111
            </Component>
108
            <Component class="javax.swing.JButton" name="removeButton">
112
            <Component class="javax.swing.JButton" name="removeButton">
109
              <Properties>
113
              <Properties>
110
                <Property name="text" type="java.lang.String" value="Remove"/>
114
                <Property name="text" type="java.lang.String" value="Remove"/>
111
              </Properties>
115
              </Properties>
112
              <Events>
116
              <Events>
113
                <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="removePressed"/>
117
                <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="removePressed"/>
114
              </Events>
118
              </Events>
115
            </Component>
119
            </Component>
116
            <Component class="javax.swing.JButton" name="resetButton">
120
            <Component class="javax.swing.JButton" name="resetButton">
117
              <Properties>
121
              <Properties>
118
                <Property name="text" type="java.lang.String" value="Reset"/>
122
                <Property name="text" type="java.lang.String" value="Reset"/>
119
              </Properties>
123
              </Properties>
120
              <Events>
124
              <Events>
121
                <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="resetPressed"/>
125
                <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="resetPressed"/>
122
              </Events>
126
              </Events>
-
 
127
            </Component>
-
 
128
            <Component class="javax.swing.JButton" name="propsButton">
-
 
129
              <Properties>
-
 
130
                <Property name="text" type="java.lang.String" value="Properties..."/>
-
 
131
                <Property name="actionCommand" type="java.lang.String" value="Properties"/>
-
 
132
              </Properties>
-
 
133
              <Events>
-
 
134
                <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="propsPressed"/>
-
 
135
              </Events>
123
            </Component>
136
            </Component>
124
          </SubComponents>
137
          </SubComponents>
125
        </Container>
138
        </Container>
126
        <Container class="javax.swing.JScrollPane" name="jScrollPane1">
139
        <Container class="javax.swing.JScrollPane" name="jScrollPane1">
127
          <Properties>
140
          <Properties>
128
            <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
141
            <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
129
              <Dimension value="[454, 400]"/>
142
              <Dimension value="[454, 400]"/>
130
            </Property>
143
            </Property>
131
            <Property name="verifyInputWhenFocusTarget" type="boolean" value="false"/>
144
            <Property name="verifyInputWhenFocusTarget" type="boolean" value="false"/>
132
          </Properties>
145
          </Properties>
133
          <AuxValues>
146
          <AuxValues>
134
            <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
147
            <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
135
          </AuxValues>
148
          </AuxValues>
136
          <Constraints>
149
          <Constraints>
137
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout$JSplitPaneConstraintsDescription">
150
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout$JSplitPaneConstraintsDescription">
138
              <JSplitPaneConstraints position="right"/>
151
              <JSplitPaneConstraints position="right"/>
139
            </Constraint>
152
            </Constraint>
140
          </Constraints>
153
          </Constraints>
141
154
142
          <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
155
          <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
143
          <SubComponents>
156
          <SubComponents>
144
            <Component class="javax.swing.JTable" name="jTable1">
157
            <Component class="javax.swing.JTable" name="jTable1">
145
              <Properties>
158
              <Properties>
146
                <Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
159
                <Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
147
                  <Connection code="model" type="code"/>
160
                  <Connection code="model" type="code"/>
148
                </Property>
161
                </Property>
149
              </Properties>
162
              </Properties>
150
              <AuxValues>
163
              <AuxValues>
151
                <AuxValue name="JavaCodeGenerator_InitCodePost" type="java.lang.String" value="jTable1.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_INTERVAL_SELECTION);&#xa;jTable1.setDefaultRenderer(StringBuffer.class, new DefaultTableCellRenderer() {&#xa;    private Color fg = Color.RED;&#xa;    private Color bg = new Color(255, 240, 240);&#xa;    &#xa;    public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {&#xa;        Component c = super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column);&#xa;        &#xa;        if (JLabel.class.isAssignableFrom(c.getClass())) {&#xa;            ((JLabel) c).setHorizontalAlignment(JLabel.TRAILING);&#xa;        }&#xa;        &#xa;        if (model.isRunning(row)) {&#xa;            c.setForeground(fg);&#xa;            if (!isSelected)&#xa;                c.setBackground(bg);&#xa;        }&#xa;        else {&#xa;            c.setForeground(Color.BLACK);&#xa;            if (!isSelected)&#xa;                c.setBackground(Color.WHITE);&#xa;        }&#xa;        &#xa;        return c;&#xa;    }&#xa;});"/>
164
                <AuxValue name="JavaCodeGenerator_InitCodePost" type="java.lang.String" value="jTable1.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_INTERVAL_SELECTION);&#xa;jTable1.setDefaultRenderer(StringBuffer.class, new DefaultTableCellRenderer() {&#xa;    private Color fg = Color.RED;&#xa;    private Color bg = new Color(255, 240, 240);&#xa;    &#xa;    public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {&#xa;        Component c = super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column);&#xa;        &#xa;        if (JLabel.class.isAssignableFrom(c.getClass())) {&#xa;            ((JLabel) c).setHorizontalAlignment(JLabel.TRAILING);&#xa;        }&#xa;        &#xa;        if (model.isRunning(row)) {&#xa;            c.setForeground(fg);&#xa;            if (!isSelected)&#xa;                c.setBackground(bg);&#xa;        }&#xa;        else {&#xa;            c.setForeground(Color.BLACK);&#xa;            if (!isSelected)&#xa;                c.setBackground(Color.WHITE);&#xa;        }&#xa;        &#xa;        return c;&#xa;    }&#xa;});"/>
152
              </AuxValues>
165
              </AuxValues>
153
            </Component>
166
            </Component>
154
          </SubComponents>
167
          </SubComponents>
155
        </Container>
168
        </Container>
156
      </SubComponents>
169
      </SubComponents>
157
    </Container>
170
    </Container>
158
  </SubComponents>
171
  </SubComponents>
159
</Form>
172
</Form>