⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 servergui.form

📁 实现简单的群聊功能
💻 FORM
字号:
<?xml version="1.0" encoding="UTF-8" ?><Form version="1.3" maxVersion="1.5" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">  <Properties>    <Property name="title" type="java.lang.String" value="Socket &#x670d;&#x52a1;&#x5668;&#x7aef;"/>    <Property name="defaultCloseOperation" type="int" value="3"/>  </Properties>  <SyntheticProperties>    <SyntheticProperty name="formSizePolicy" type="int" value="1"/>  </SyntheticProperties>  <AuxValues>    <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>    <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>    <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>    <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>    <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>    <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>    <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>  </AuxValues>  <Layout>    <DimensionLayout dim="0">      <Group type="103" groupAlignment="0" attributes="0">          <Component id="jPanel" alignment="0" max="32767" attributes="0"/>      </Group>    </DimensionLayout>    <DimensionLayout dim="1">      <Group type="103" groupAlignment="0" attributes="0">          <Component id="jPanel" alignment="0" max="32767" attributes="0"/>      </Group>    </DimensionLayout>  </Layout>  <SubComponents>    <Container class="javax.swing.JPanel" name="jPanel">      <Layout>        <DimensionLayout dim="0">          <Group type="103" groupAlignment="0" attributes="0">              <Group type="102" alignment="0" attributes="0">                  <EmptySpace max="-2" attributes="0"/>                  <Group type="103" groupAlignment="0" attributes="0">                      <Component id="jScrollPane" alignment="0" min="-2" max="-2" attributes="0"/>                      <Group type="102" attributes="0">                          <Component id="openSocketButton" min="-2" max="-2" attributes="0"/>                          <EmptySpace type="unrelated" max="-2" attributes="0"/>                          <Component id="closeSocketButton" min="-2" max="-2" attributes="0"/>                      </Group>                      <Component id="jLabel" alignment="0" min="-2" max="-2" attributes="0"/>                  </Group>                  <EmptySpace pref="146" max="32767" attributes="0"/>              </Group>          </Group>        </DimensionLayout>        <DimensionLayout dim="1">          <Group type="103" groupAlignment="0" attributes="0">              <Group type="102" alignment="0" attributes="0">                  <EmptySpace max="-2" attributes="0"/>                  <Group type="103" groupAlignment="3" attributes="0">                      <Component id="openSocketButton" alignment="3" min="-2" max="-2" attributes="0"/>                      <Component id="closeSocketButton" alignment="3" min="-2" max="-2" attributes="0"/>                  </Group>                  <EmptySpace type="unrelated" max="-2" attributes="0"/>                  <Component id="jLabel" min="-2" max="-2" attributes="0"/>                  <EmptySpace max="-2" attributes="0"/>                  <Component id="jScrollPane" min="-2" pref="218" max="-2" attributes="0"/>                  <EmptySpace pref="18" max="32767" attributes="0"/>              </Group>          </Group>        </DimensionLayout>      </Layout>      <SubComponents>        <Component class="javax.swing.JButton" name="openSocketButton">          <Properties>            <Property name="text" type="java.lang.String" value="&#x6253;&#x5f00;&#x670d;&#x52a1;&#x5668;&#x8fde;&#x63a5;"/>          </Properties>          <Events>            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="openSocketButtonActionPerformed"/>          </Events>        </Component>        <Component class="javax.swing.JLabel" name="jLabel">          <Properties>            <Property name="text" type="java.lang.String" value="&#x5f53;&#x524d;&#x5728;&#x7ebf;&#x7528;&#x6237;"/>          </Properties>        </Component>        <Component class="javax.swing.JButton" name="closeSocketButton">          <Properties>            <Property name="text" type="java.lang.String" value="&#x5173;&#x95ed;&#x670d;&#x52a1;&#x5668;&#x8fde;&#x63a5;"/>          </Properties>          <Events>            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="closeSocketButtonActionPerformed"/>          </Events>        </Component>        <Container class="javax.swing.JScrollPane" name="jScrollPane">          <AuxValues>            <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>          </AuxValues>          <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>          <SubComponents>            <Component class="javax.swing.JList" name="userList">              <Properties>                <Property name="model" type="javax.swing.ListModel" editor="org.netbeans.modules.form.editors2.ListModelEditor">                  <StringArray count="5">                    <StringItem index="0" value="Item 1"/>                    <StringItem index="1" value="Item 2"/>                    <StringItem index="2" value="Item 3"/>                    <StringItem index="3" value="Item 4"/>                    <StringItem index="4" value="Item 5"/>                  </StringArray>                </Property>              </Properties>            </Component>          </SubComponents>        </Container>      </SubComponents>    </Container>  </SubComponents></Form>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -