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

📄 chatjdialog.form

📁 能够实现基本的通讯功能是基于java和tcp编程开发的
💻 FORM
字号:
<?xml version="1.0" encoding="UTF-8" ?><Form version="1.3" maxVersion="1.3" type="org.netbeans.modules.form.forminfo.JDialogFormInfo">  <Properties>    <Property name="defaultCloseOperation" type="int" value="2"/>    <Property name="title" type="java.lang.String" value="Datagram Socket &#x804a;&#x5929;&#x8303;&#x4f8b;"/>  </Properties>  <SyntheticProperties>    <SyntheticProperty name="formSizePolicy" type="int" value="1"/>  </SyntheticProperties>  <Events>    <EventHandler event="windowClosing" listener="java.awt.event.WindowListener" parameters="java.awt.event.WindowEvent" handler="formWindowClosing"/>  </Events>  <AuxValues>    <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>    <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>    <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>    <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="jPanel1" alignment="0" max="32767" attributes="0"/>          <Component id="jScrollPane1" alignment="0" pref="471" max="32767" attributes="0"/>          <Group type="102" alignment="1" attributes="0">              <EmptySpace max="-2" attributes="0"/>              <Component id="clearInfo" min="-2" max="-2" attributes="0"/>              <EmptySpace pref="337" max="32767" attributes="0"/>              <Component id="sendMsg" min="-2" max="-2" attributes="0"/>              <EmptySpace max="-2" attributes="0"/>          </Group>          <Component id="jScrollPane2" alignment="0" pref="471" max="32767" attributes="0"/>      </Group>    </DimensionLayout>    <DimensionLayout dim="1">      <Group type="103" groupAlignment="0" attributes="0">          <Group type="102" alignment="0" attributes="0">              <Component id="jPanel1" min="-2" max="-2" attributes="0"/>              <EmptySpace max="-2" attributes="0"/>              <Component id="jScrollPane1" min="-2" pref="206" max="-2" attributes="0"/>              <EmptySpace max="-2" attributes="0"/>              <Component id="jScrollPane2" min="-2" pref="124" max="-2" attributes="0"/>              <EmptySpace pref="12" max="32767" attributes="0"/>              <Group type="103" groupAlignment="3" attributes="0">                  <Component id="sendMsg" alignment="3" min="-2" max="-2" attributes="0"/>                  <Component id="clearInfo" alignment="3" min="-2" max="-2" attributes="0"/>              </Group>          </Group>      </Group>    </DimensionLayout>  </Layout>  <SubComponents>    <Container class="javax.swing.JPanel" name="jPanel1">      <Layout>        <DimensionLayout dim="0">          <Group type="103" groupAlignment="0" attributes="0">              <Group type="102" alignment="0" attributes="0">                  <EmptySpace max="-2" attributes="0"/>                  <Component id="jLabel1" min="-2" max="-2" attributes="0"/>                  <EmptySpace max="-2" attributes="0"/>                  <Component id="ipAddress" min="-2" pref="85" max="-2" attributes="0"/>                  <EmptySpace min="-2" pref="16" max="-2" attributes="0"/>                  <Component id="jLabel2" min="-2" max="-2" attributes="0"/>                  <EmptySpace max="-2" attributes="0"/>                  <Component id="recievPort" min="-2" pref="41" max="-2" attributes="0"/>                  <EmptySpace min="-2" pref="13" max="-2" attributes="0"/>                  <Component id="jLabel3" min="-2" max="-2" attributes="0"/>                  <EmptySpace max="-2" attributes="0"/>                  <Component id="sendPort" min="-2" pref="44" max="-2" attributes="0"/>                  <EmptySpace pref="29" max="32767" attributes="0"/>                  <Component id="startChat" min="-2" max="-2" attributes="0"/>                  <EmptySpace min="-2" pref="26" max="-2" attributes="0"/>              </Group>          </Group>        </DimensionLayout>        <DimensionLayout dim="1">          <Group type="103" groupAlignment="0" attributes="0">              <Group type="102" attributes="0">                  <EmptySpace max="-2" attributes="0"/>                  <Group type="103" groupAlignment="3" attributes="0">                      <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/>                      <Component id="startChat" alignment="3" min="-2" max="-2" attributes="0"/>                      <Component id="ipAddress" alignment="3" min="-2" max="-2" attributes="0"/>                      <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/>                      <Component id="recievPort" alignment="3" min="-2" max="-2" attributes="0"/>                      <Component id="jLabel3" alignment="3" pref="17" max="32767" attributes="0"/>                      <Component id="sendPort" alignment="3" min="-2" max="-2" attributes="0"/>                  </Group>                  <EmptySpace max="-2" attributes="0"/>              </Group>          </Group>        </DimensionLayout>      </Layout>      <SubComponents>        <Component class="javax.swing.JLabel" name="jLabel1">          <Properties>            <Property name="text" type="java.lang.String" value="IP:"/>          </Properties>        </Component>        <Component class="javax.swing.JTextField" name="ipAddress">        </Component>        <Component class="javax.swing.JLabel" name="jLabel2">          <Properties>            <Property name="text" type="java.lang.String" value="&#x63a5;&#x6536;&#x7aef;&#x53e3;&#xff1a;"/>          </Properties>        </Component>        <Component class="javax.swing.JTextField" name="recievPort">        </Component>        <Component class="javax.swing.JButton" name="startChat">          <Properties>            <Property name="text" type="java.lang.String" value="&#x542f;&#x52a8;"/>          </Properties>          <Events>            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="startChatActionPerformed"/>          </Events>        </Component>        <Component class="javax.swing.JLabel" name="jLabel3">          <Properties>            <Property name="text" type="java.lang.String" value="&#x53d1;&#x9001;&#x7aef;&#x53e3;&#xff1a;"/>          </Properties>        </Component>        <Component class="javax.swing.JTextField" name="sendPort">        </Component>      </SubComponents>    </Container>    <Container class="javax.swing.JScrollPane" name="jScrollPane1">      <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.JTextPane" name="recieveForm">        </Component>      </SubComponents>    </Container>    <Container class="javax.swing.JScrollPane" name="jScrollPane2">      <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.JTextPane" name="sendForm">        </Component>      </SubComponents>    </Container>    <Component class="javax.swing.JButton" name="sendMsg">      <Properties>        <Property name="text" type="java.lang.String" value="&#x53d1;&#x9001;"/>      </Properties>      <Events>        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="sendMsgActionPerformed"/>      </Events>    </Component>    <Component class="javax.swing.JButton" name="clearInfo">      <Properties>        <Property name="text" type="java.lang.String" value="&#x6e05;&#x7a7a;"/>      </Properties>      <Events>        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="clearInfoActionPerformed"/>      </Events>    </Component>  </SubComponents></Form>

⌨️ 快捷键说明

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