client: send and receive network messages
[WeStealzYourDataz.git] / src / uk / ac / ntu / n0521366 / wsyd / client / Chat.form
1 <?xml version="1.0" encoding="UTF-8" ?>
2
3 <Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JDialogFormInfo">
4   <NonVisualComponents>
5     <Container class="javax.swing.JPanel" name="gPanelChatInstance">
6       <Properties>
7         <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
8           <Dimension value="[450, 350]"/>
9         </Property>
10         <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
11           <Dimension value="[450, 350]"/>
12         </Property>
13       </Properties>
14
15       <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
16       <SubComponents>
17         <Container class="javax.swing.JScrollPane" name="jScrollPane1">
18           <AuxValues>
19             <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
20           </AuxValues>
21           <Constraints>
22             <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
23               <BorderConstraints direction="Center"/>
24             </Constraint>
25           </Constraints>
26
27           <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
28           <SubComponents>
29             <Component class="javax.swing.JList" name="gListChatWindow">
30               <Properties>
31                 <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
32                   <Font name="Dialog" size="12" style="0"/>
33                 </Property>
34                 <Property name="model" type="javax.swing.ListModel" editor="org.netbeans.modules.form.editors2.ListModelEditor">
35                   <StringArray count="5">
36                     <StringItem index="0" value="Item 1"/>
37                     <StringItem index="1" value="Item 2"/>
38                     <StringItem index="2" value="Item 3"/>
39                     <StringItem index="3" value="Item 4"/>
40                     <StringItem index="4" value="Item 5"/>
41                   </StringArray>
42                 </Property>
43                 <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
44                   <Dimension value="[300, 180]"/>
45                 </Property>
46                 <Property name="visibleRowCount" type="int" value="20"/>
47               </Properties>
48             </Component>
49           </SubComponents>
50         </Container>
51         <Container class="javax.swing.JPanel" name="jPanel2">
52           <Properties>
53             <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
54               <Dimension value="[450, 70]"/>
55             </Property>
56           </Properties>
57           <Constraints>
58             <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
59               <BorderConstraints direction="Last"/>
60             </Constraint>
61           </Constraints>
62
63           <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
64           <SubComponents>
65             <Component class="javax.swing.JButton" name="gButtonAttach">
66               <Properties>
67                 <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
68                   <Font name="Dialog" size="10" style="1"/>
69                 </Property>
70                 <Property name="text" type="java.lang.String" value="Attach"/>
71                 <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
72                   <Dimension value="[94, 50]"/>
73                 </Property>
74               </Properties>
75               <Constraints>
76                 <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
77                   <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="3" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
78                 </Constraint>
79               </Constraints>
80             </Component>
81             <Container class="javax.swing.JScrollPane" name="jScrollPane2">
82               <Properties>
83                 <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
84                   <Dimension value="[256, 100]"/>
85                 </Property>
86               </Properties>
87               <AuxValues>
88                 <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
89               </AuxValues>
90               <Constraints>
91                 <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
92                   <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
93                 </Constraint>
94               </Constraints>
95
96               <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
97               <SubComponents>
98                 <Component class="javax.swing.JTextArea" name="gTAreaMessage">
99                   <Properties>
100                     <Property name="columns" type="int" value="20"/>
101                     <Property name="rows" type="int" value="6"/>
102                   </Properties>
103                 </Component>
104               </SubComponents>
105             </Container>
106             <Component class="javax.swing.JButton" name="gButtonSend">
107               <Properties>
108                 <Property name="text" type="java.lang.String" value="Send"/>
109                 <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
110                   <Dimension value="[94, 50]"/>
111                 </Property>
112               </Properties>
113               <Constraints>
114                 <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
115                   <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="3" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
116                 </Constraint>
117               </Constraints>
118             </Component>
119           </SubComponents>
120         </Container>
121       </SubComponents>
122     </Container>
123   </NonVisualComponents>
124   <Properties>
125     <Property name="defaultCloseOperation" type="int" value="2"/>
126   </Properties>
127   <SyntheticProperties>
128     <SyntheticProperty name="formSizePolicy" type="int" value="1"/>
129     <SyntheticProperty name="generateCenter" type="boolean" value="false"/>
130   </SyntheticProperties>
131   <AuxValues>
132     <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
133     <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
134     <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
135     <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
136     <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
137     <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
138     <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
139     <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
140     <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
141   </AuxValues>
142
143   <Layout>
144     <DimensionLayout dim="0">
145       <Group type="103" groupAlignment="0" attributes="0">
146           <Component id="gTPanelNewChat" min="-2" pref="500" max="-2" attributes="0"/>
147       </Group>
148     </DimensionLayout>
149     <DimensionLayout dim="1">
150       <Group type="103" groupAlignment="0" attributes="0">
151           <Component id="gTPanelNewChat" min="-2" pref="400" max="-2" attributes="0"/>
152       </Group>
153     </DimensionLayout>
154   </Layout>
155   <SubComponents>
156     <Container class="javax.swing.JTabbedPane" name="gTPanelNewChat">
157       <Properties>
158         <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
159           <Dimension value="[450, 350]"/>
160         </Property>
161         <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
162           <Dimension value="[500, 400]"/>
163         </Property>
164       </Properties>
165
166       <Layout class="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout"/>
167     </Container>
168   </SubComponents>
169 </Form>