Subversion Repositories public

Rev

Rev 89 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
87 luk 1
<?xml version="1.0" encoding="UTF-8" ?>
2
 
3
<Form version="1.3" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
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>
15
    <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
16
    <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
17
    <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
18
    <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
19
  </AuxValues>
20
 
21
  <Layout>
22
    <DimensionLayout dim="0">
23
      <Group type="103" groupAlignment="0" attributes="0">
24
          <Component id="jSplitPane1" alignment="1" pref="572" max="32767" attributes="0"/>
25
      </Group>
26
    </DimensionLayout>
27
    <DimensionLayout dim="1">
28
      <Group type="103" groupAlignment="0" attributes="0">
29
          <Component id="jSplitPane1" pref="441" max="32767" attributes="0"/>
30
      </Group>
31
    </DimensionLayout>
32
  </Layout>
33
  <SubComponents>
34
    <Container class="javax.swing.JSplitPane" name="jSplitPane1">
35
      <Properties>
36
        <Property name="orientation" type="int" value="0"/>
37
      </Properties>
38
 
39
      <Layout class="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout"/>
40
      <SubComponents>
41
        <Container class="javax.swing.JPanel" name="jPanel1">
42
          <Properties>
43
            <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
44
              <Dimension value="[10, 25]"/>
45
            </Property>
46
          </Properties>
47
          <Constraints>
48
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout$JSplitPaneConstraintsDescription">
49
              <JSplitPaneConstraints position="top"/>
50
            </Constraint>
51
          </Constraints>
52
 
53
          <Layout>
54
            <DimensionLayout dim="0">
55
              <Group type="103" groupAlignment="0" attributes="0">
56
                  <Group type="102" alignment="0" attributes="0">
57
                      <Component id="startButton" min="-2" max="-2" attributes="0"/>
58
                      <EmptySpace max="-2" attributes="0"/>
59
                      <Component id="stopButton" min="-2" max="-2" attributes="0"/>
60
                      <EmptySpace max="-2" attributes="0"/>
61
                      <Component id="addButton" min="-2" max="-2" attributes="0"/>
62
                      <EmptySpace max="-2" attributes="0"/>
63
                      <Component id="removeButton" min="-2" max="-2" attributes="0"/>
64
                      <EmptySpace pref="310" max="32767" attributes="0"/>
65
                  </Group>
66
              </Group>
67
            </DimensionLayout>
68
            <DimensionLayout dim="1">
69
              <Group type="103" groupAlignment="0" attributes="0">
70
                  <Component id="startButton" alignment="3" pref="25" max="32767" attributes="0"/>
71
                  <Component id="stopButton" alignment="3" pref="25" max="32767" attributes="0"/>
72
                  <Component id="addButton" alignment="3" pref="25" max="32767" attributes="0"/>
73
                  <Component id="removeButton" alignment="3" pref="25" max="32767" attributes="0"/>
74
              </Group>
75
            </DimensionLayout>
76
          </Layout>
77
          <SubComponents>
78
            <Component class="javax.swing.JButton" name="startButton">
79
              <Properties>
80
                <Property name="text" type="java.lang.String" value="Start"/>
81
              </Properties>
82
              <Events>
83
                <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="startPressed"/>
84
              </Events>
85
            </Component>
86
            <Component class="javax.swing.JButton" name="stopButton">
87
              <Properties>
88
                <Property name="text" type="java.lang.String" value="Stop"/>
89
              </Properties>
90
              <Events>
91
                <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="stopPressed"/>
92
              </Events>
93
            </Component>
94
            <Component class="javax.swing.JButton" name="addButton">
95
              <Properties>
96
                <Property name="text" type="java.lang.String" value="Add"/>
97
              </Properties>
98
              <Events>
99
                <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="addPressed"/>
100
              </Events>
101
            </Component>
102
            <Component class="javax.swing.JButton" name="removeButton">
103
              <Properties>
104
                <Property name="text" type="java.lang.String" value="Remove"/>
105
              </Properties>
106
              <Events>
107
                <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="removePressed"/>
108
              </Events>
109
            </Component>
110
          </SubComponents>
111
        </Container>
112
        <Container class="javax.swing.JScrollPane" name="jScrollPane1">
113
          <Properties>
114
            <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
115
              <Dimension value="[454, 400]"/>
116
            </Property>
117
            <Property name="verifyInputWhenFocusTarget" type="boolean" value="false"/>
118
            <Property name="viewport" type="javax.swing.JViewport" editor="org.netbeans.modules.form.ComponentChooserEditor">
119
              <ComponentRef name="null"/>
120
            </Property>
121
          </Properties>
122
          <AuxValues>
123
            <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
124
          </AuxValues>
125
          <Constraints>
126
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout$JSplitPaneConstraintsDescription">
127
              <JSplitPaneConstraints position="right"/>
128
            </Constraint>
129
          </Constraints>
130
 
131
          <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
132
          <SubComponents>
133
            <Component class="javax.swing.JTable" name="jTable1">
134
              <Properties>
135
                <Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
136
                  <Connection code="model" type="code"/>
137
                </Property>
138
              </Properties>
139
              <AuxValues>
140
                <AuxValue name="JavaCodeGenerator_InitCodePost" type="java.lang.String" value="jTable1.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_INTERVAL_SELECTION);&#xa;jTable1.setDefaultRenderer(Long.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;        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;});"/>
141
              </AuxValues>
142
            </Component>
143
          </SubComponents>
144
        </Container>
145
      </SubComponents>
146
    </Container>
147
  </SubComponents>
148
</Form>