You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ChatView.form 8.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
  3. <NonVisualComponents>
  4. <Component class="javax.swing.ButtonGroup" name="bgSelect">
  5. </Component>
  6. </NonVisualComponents>
  7. <Properties>
  8. <Property name="defaultCloseOperation" type="int" value="3"/>
  9. </Properties>
  10. <SyntheticProperties>
  11. <SyntheticProperty name="formSizePolicy" type="int" value="1"/>
  12. <SyntheticProperty name="generateCenter" type="boolean" value="false"/>
  13. </SyntheticProperties>
  14. <AuxValues>
  15. <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
  16. <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
  17. <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
  18. <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
  19. <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
  20. <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
  21. <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
  22. <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
  23. <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
  24. </AuxValues>
  25. <Layout>
  26. <DimensionLayout dim="0">
  27. <Group type="103" groupAlignment="0" attributes="0">
  28. <Group type="102" alignment="1" attributes="0">
  29. <EmptySpace max="-2" attributes="0"/>
  30. <Group type="103" groupAlignment="1" attributes="0">
  31. <Group type="102" alignment="0" attributes="0">
  32. <Component id="lbPort" min="-2" max="-2" attributes="0"/>
  33. <EmptySpace max="-2" attributes="0"/>
  34. <Component id="tfPort" min="-2" pref="61" max="-2" attributes="0"/>
  35. <EmptySpace max="-2" attributes="0"/>
  36. <Component id="lbIP" min="-2" max="-2" attributes="0"/>
  37. <EmptySpace max="-2" attributes="0"/>
  38. <Component id="tfIP" min="-2" pref="191" max="-2" attributes="0"/>
  39. <EmptySpace pref="34" max="32767" attributes="0"/>
  40. <Component id="btConnect" min="-2" max="-2" attributes="0"/>
  41. </Group>
  42. <Group type="102" alignment="0" attributes="0">
  43. <Component id="rbClient" min="-2" pref="64" max="-2" attributes="0"/>
  44. <EmptySpace max="-2" attributes="0"/>
  45. <Component id="rbServer" min="-2" max="-2" attributes="0"/>
  46. <EmptySpace min="0" pref="0" max="32767" attributes="0"/>
  47. </Group>
  48. <Component id="jScrollPane1" alignment="1" max="32767" attributes="0"/>
  49. <Group type="102" alignment="0" attributes="0">
  50. <Component id="tfMessage" max="32767" attributes="0"/>
  51. <EmptySpace type="separate" max="-2" attributes="0"/>
  52. <Component id="btSend" min="-2" max="-2" attributes="0"/>
  53. </Group>
  54. </Group>
  55. <EmptySpace max="-2" attributes="0"/>
  56. </Group>
  57. <Component id="jSeparator2" alignment="0" max="32767" attributes="0"/>
  58. </Group>
  59. </DimensionLayout>
  60. <DimensionLayout dim="1">
  61. <Group type="103" groupAlignment="0" attributes="0">
  62. <Group type="102" alignment="0" attributes="0">
  63. <EmptySpace max="-2" attributes="0"/>
  64. <Component id="jScrollPane1" pref="134" max="32767" attributes="0"/>
  65. <EmptySpace type="separate" max="-2" attributes="0"/>
  66. <Group type="103" groupAlignment="3" attributes="0">
  67. <Component id="tfMessage" alignment="3" min="-2" pref="25" max="-2" attributes="0"/>
  68. <Component id="btSend" alignment="3" min="-2" max="-2" attributes="0"/>
  69. </Group>
  70. <EmptySpace type="unrelated" max="-2" attributes="0"/>
  71. <Component id="jSeparator2" min="-2" pref="6" max="-2" attributes="0"/>
  72. <EmptySpace min="-2" pref="1" max="-2" attributes="0"/>
  73. <Group type="103" groupAlignment="3" attributes="0">
  74. <Component id="rbServer" alignment="3" min="-2" max="-2" attributes="0"/>
  75. <Component id="rbClient" alignment="3" min="-2" max="-2" attributes="0"/>
  76. </Group>
  77. <EmptySpace type="unrelated" max="-2" attributes="0"/>
  78. <Group type="103" groupAlignment="3" attributes="0">
  79. <Component id="lbPort" alignment="3" min="-2" max="-2" attributes="0"/>
  80. <Component id="tfPort" alignment="3" min="-2" max="-2" attributes="0"/>
  81. <Component id="tfIP" alignment="3" min="-2" max="-2" attributes="0"/>
  82. <Component id="lbIP" alignment="3" min="-2" max="-2" attributes="0"/>
  83. <Component id="btConnect" alignment="3" min="-2" max="-2" attributes="0"/>
  84. </Group>
  85. <EmptySpace max="-2" attributes="0"/>
  86. </Group>
  87. </Group>
  88. </DimensionLayout>
  89. </Layout>
  90. <SubComponents>
  91. <Container class="javax.swing.JScrollPane" name="jScrollPane1">
  92. <AuxValues>
  93. <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
  94. </AuxValues>
  95. <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
  96. <SubComponents>
  97. <Component class="javax.swing.JTextArea" name="taCommunication">
  98. <Properties>
  99. <Property name="columns" type="int" value="20"/>
  100. <Property name="rows" type="int" value="5"/>
  101. </Properties>
  102. </Component>
  103. </SubComponents>
  104. </Container>
  105. <Component class="javax.swing.JTextField" name="tfMessage">
  106. </Component>
  107. <Component class="javax.swing.JButton" name="btSend">
  108. <Properties>
  109. <Property name="text" type="java.lang.String" value="send"/>
  110. </Properties>
  111. </Component>
  112. <Component class="javax.swing.JTextField" name="tfPort">
  113. <Properties>
  114. <Property name="text" type="java.lang.String" value="3210"/>
  115. <Property name="toolTipText" type="java.lang.String" value=""/>
  116. </Properties>
  117. </Component>
  118. <Component class="javax.swing.JLabel" name="lbPort">
  119. <Properties>
  120. <Property name="text" type="java.lang.String" value="Port:"/>
  121. <Property name="toolTipText" type="java.lang.String" value=""/>
  122. </Properties>
  123. </Component>
  124. <Component class="javax.swing.JLabel" name="lbIP">
  125. <Properties>
  126. <Property name="text" type="java.lang.String" value="IP:"/>
  127. </Properties>
  128. </Component>
  129. <Component class="javax.swing.JTextField" name="tfIP">
  130. <Properties>
  131. <Property name="text" type="java.lang.String" value="127.0.0.1"/>
  132. </Properties>
  133. </Component>
  134. <Component class="javax.swing.JButton" name="btConnect">
  135. <Properties>
  136. <Property name="text" type="java.lang.String" value="connect"/>
  137. <Property name="toolTipText" type="java.lang.String" value=""/>
  138. </Properties>
  139. </Component>
  140. <Component class="javax.swing.JRadioButton" name="rbClient">
  141. <Properties>
  142. <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
  143. <ComponentRef name="bgSelect"/>
  144. </Property>
  145. <Property name="selected" type="boolean" value="true"/>
  146. <Property name="text" type="java.lang.String" value="Client"/>
  147. </Properties>
  148. <Events>
  149. <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="rbClientActionPerformed"/>
  150. </Events>
  151. </Component>
  152. <Component class="javax.swing.JRadioButton" name="rbServer">
  153. <Properties>
  154. <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
  155. <ComponentRef name="bgSelect"/>
  156. </Property>
  157. <Property name="text" type="java.lang.String" value="Server"/>
  158. </Properties>
  159. <Events>
  160. <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="rbServerActionPerformed"/>
  161. </Events>
  162. </Component>
  163. <Component class="javax.swing.JSeparator" name="jSeparator2">
  164. </Component>
  165. </SubComponents>
  166. </Form>