Subversion Repositories public

Rev

Rev 89 | Details | Compare with Previous | Last modification | View Log | RSS feed

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