📄 chat.form
字号:
<?xml version="1.0" encoding="UTF-8" ?><Form version="1.3" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> <NonVisualComponents> <Menu class="javax.swing.JMenuBar" name="jMenuBar2"> <SubComponents> <Menu class="javax.swing.JMenu" name="jMenu2"> <Properties> <Property name="text" type="java.lang.String" value="Menu"/> </Properties> </Menu> </SubComponents> </Menu> <Menu class="javax.swing.JMenuBar" name="jMenuBar3"> <SubComponents> <Menu class="javax.swing.JMenu" name="jMenu3"> <Properties> <Property name="text" type="java.lang.String" value="Menu"/> </Properties> </Menu> </SubComponents> </Menu> <Component class="javax.swing.JLabel" name="jLabel5"> <Properties> <Property name="text" type="java.lang.String" value="jLabel5"/> </Properties> </Component> <Component class="javax.swing.JLabel" name="jLabel6"> <Properties> <Property name="text" type="java.lang.String" value="jLabel6"/> </Properties> </Component> <Component class="javax.swing.JLabel" name="jLabel7"> <Properties> <Property name="text" type="java.lang.String" value="jLabel7"/> </Properties> </Component> <Menu class="javax.swing.JMenuBar" name="jMenuBar1"> <SubComponents> <Menu class="javax.swing.JMenu" name="menu"> <Properties> <Property name="text" type="java.lang.String" value="菜单"/> </Properties> <SubComponents> <MenuItem class="javax.swing.JMenuItem" name="jMenuItem1"> <Properties> <Property name="text" type="java.lang.String" value="退出"/> </Properties> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItem1ActionPerformed"/> </Events> </MenuItem> <MenuItem class="javax.swing.JMenuItem" name="jMenuItem2"> <Properties> <Property name="text" type="java.lang.String" value="帮助"/> </Properties> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItem2ActionPerformed"/> </Events> </MenuItem> </SubComponents> </Menu> </SubComponents> </Menu> </NonVisualComponents> <Properties> <Property name="defaultCloseOperation" type="int" value="3"/> <Property name="title" type="java.lang.String" value="超级聊天器 Beta 1.1016版-(olry)"/> </Properties> <SyntheticProperties> <SyntheticProperty name="menuBar" type="java.lang.String" value="jMenuBar1"/> <SyntheticProperty name="formSizePolicy" type="int" value="1"/> </SyntheticProperties> <AuxValues> <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="2"/> <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"> <Group type="102" attributes="0"> <Group type="103" groupAlignment="0" max="-2" attributes="0"> <Group type="102" alignment="0" attributes="1"> <Component id="jLabel3" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Component id="txtFilePath" max="32767" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Component id="jLabel4" min="-2" max="-2" attributes="0"/> <EmptySpace min="-2" pref="8" max="-2" attributes="0"/> <Component id="txtPort" min="-2" pref="40" max="-2" attributes="0"/> </Group> <Component id="jScrollPane2" alignment="0" min="-2" pref="381" max="-2" attributes="1"/> </Group> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" attributes="0"> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" alignment="0" attributes="0"> <Component id="jLabel1" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Component id="txtIP" min="-2" pref="106" max="-2" attributes="1"/> </Group> <Component id="btnSend" alignment="0" pref="134" max="32767" attributes="1"/> <Component id="btnOpenFile" alignment="0" min="-2" max="-2" attributes="0"/> </Group> </Group> <Group type="102" alignment="0" attributes="0"> <EmptySpace min="-2" pref="22" max="-2" attributes="0"/> <Component id="jLabel2" min="-2" max="-2" attributes="1"/> </Group> <Group type="102" alignment="0" attributes="0"> <EmptySpace max="-2" attributes="0"/> <Component id="fileSend" pref="134" max="32767" attributes="0"/> </Group> </Group> <EmptySpace max="-2" attributes="0"/> </Group> <Component id="jScrollPane1" alignment="0" pref="531" 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="jScrollPane1" min="-2" pref="217" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" attributes="0"> <EmptySpace min="-2" pref="8" max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="jLabel1" alignment="3" min="-2" pref="20" max="-2" attributes="0"/> <Component id="txtIP" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace min="-2" pref="18" max="-2" attributes="0"/> <Component id="jLabel2" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Component id="btnSend" min="-2" max="-2" attributes="0"/> <EmptySpace pref="15" max="32767" attributes="0"/> <Component id="fileSend" min="-2" max="-2" attributes="1"/> </Group> <Group type="102" attributes="0"> <EmptySpace max="-2" attributes="0"/> <Component id="jScrollPane2" pref="133" max="32767" attributes="0"/> </Group> </Group> <EmptySpace min="-2" pref="8" max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="txtFilePath" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="btnOpenFile" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="txtPort" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jLabel4" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace max="-2" attributes="0"/> </Group> </Group> </DimensionLayout> </Layout> <SubComponents> <Component class="javax.swing.JButton" name="btnSend"> <Properties> <Property name="text" type="java.lang.String" value="发送消息"/> </Properties> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="execSend"/> </Events> </Component> <Component class="javax.swing.JTextField" name="txtIP"> <Properties> <Property name="text" type="java.lang.String" value="192.168.7.1"/> </Properties> <Events> <EventHandler event="keyPressed" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="txtIPKeyPressed"/> </Events> </Component> <Component class="javax.swing.JLabel" name="jLabel1"> <Properties> <Property name="text" type="java.lang.String" value="I P:"/> </Properties> </Component> <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.JTextArea" name="txtDetails"> <Properties> <Property name="columns" type="int" value="20"/> <Property name="rows" type="int" value="5"/> <Property name="disabledTextColor" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> <Color blue="33" green="33" red="ff" type="rgb"/> </Property> <Property name="enabled" type="boolean" value="false"/> </Properties> </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.JTextArea" name="txtMessage"> <Properties> <Property name="columns" type="int" value="20"/> <Property name="rows" type="int" value="5"/> </Properties> <Events> <EventHandler event="keyPressed" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="txtMessageKeyPressed"/> </Events> </Component> </SubComponents> </Container> <Component class="javax.swing.JLabel" name="jLabel2"> <Properties> <Property name="text" type="java.lang.String" value=" 按ALT键快速发送"/> </Properties> </Component> <Component class="javax.swing.JButton" name="fileSend"> <Properties> <Property name="text" type="java.lang.String" value="发送文件"/> </Properties> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="sendfile"/> </Events> </Component> <Component class="javax.swing.JTextField" name="txtFilePath"> <Properties> <Property name="text" type="java.lang.String" value="D:\java\"/> </Properties> </Component> <Component class="javax.swing.JLabel" name="jLabel3"> <Properties> <Property name="text" type="java.lang.String" value=" 选择路径:"/> </Properties> </Component> <Component class="javax.swing.JButton" name="btnOpenFile"> <Properties> <Property name="text" type="java.lang.String" value="打开文件"/> </Properties> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="execOpenFile"/> </Events> </Component> <Component class="javax.swing.JTextField" name="txtPort"> <Properties> <Property name="text" type="java.lang.String" value="8888"/> </Properties> </Component> <Component class="javax.swing.JLabel" name="jLabel4"> <Properties> <Property name="text" type="java.lang.String" value=" 选择端口:"/> </Properties> </Component> </SubComponents></Form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -