mainscreen.form
来自「下了就知道了」· FORM 代码 · 共 158 行
FORM
158 行
<?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="jMenuBar1"> <SubComponents> <Menu class="javax.swing.JMenu" name="jMenu1"> <Properties> <Property name="text" type="java.lang.String" value="Login"/> </Properties> <SubComponents> <MenuItem class="javax.swing.JMenuItem" name="jMenuItem1"> <Properties> <Property name="text" type="java.lang.String" value="User Logout"/> </Properties> <Events> <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="jMenuItem1MouseClicked"/> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItem1ActionPerformed"/> </Events> </MenuItem> </SubComponents> </Menu> <Menu class="javax.swing.JMenu" name="jMenu2"> <Properties> <Property name="text" type="java.lang.String" value="Friends"/> </Properties> <SubComponents> <MenuItem class="javax.swing.JMenuItem" name="jMenuItem2"> <Properties> <Property name="text" type="java.lang.String" value="Add/Delete a Friend..."/> </Properties> </MenuItem> </SubComponents> </Menu> <Menu class="javax.swing.JMenu" name="jMenu3"> <Properties> <Property name="text" type="java.lang.String" value="About"/> </Properties> </Menu> </SubComponents> </Menu> </NonVisualComponents> <Properties> <Property name="defaultCloseOperation" type="int" value="3"/> </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="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"> <Group type="102" alignment="0" attributes="0"> <EmptySpace max="-2" attributes="0"/> <Component id="m_ConnectionStatus" min="-2" max="-2" attributes="0"/> <EmptySpace pref="118" max="32767" attributes="0"/> </Group> <Component id="jPanel1" alignment="0" max="32767" attributes="0"/> </Group> </DimensionLayout> <DimensionLayout dim="1"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" alignment="1" attributes="0"> <Component id="jPanel1" max="32767" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Component id="m_ConnectionStatus" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> </Group> </Group> </DimensionLayout> </Layout> <SubComponents> <Container class="javax.swing.JPanel" name="jPanel1"> <Properties> <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo"> <TitledBorder title="Friends"> <Color PropertyName="color" blue="0" green="0" red="0" type="rgb"/> </TitledBorder> </Border> </Property> </Properties> <Layout> <DimensionLayout dim="0"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" alignment="0" attributes="0"> <Component id="jScrollPane1" pref="185" max="32767" attributes="0"/> <EmptySpace min="-2" pref="1" max="-2" attributes="0"/> </Group> <Group type="102" alignment="0" attributes="0"> <Component id="m_Add" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> </Group> <Group type="102" alignment="0" attributes="0"> <Component id="m_Chat" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> </Group> </Group> </DimensionLayout> <DimensionLayout dim="1"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" alignment="0" attributes="0"> <Component id="m_Chat" min="-2" pref="39" max="-2" attributes="1"/> <EmptySpace max="-2" attributes="0"/> <Component id="jScrollPane1" min="-2" pref="231" max="-2" attributes="0"/> <EmptySpace max="32767" attributes="0"/> <Component id="m_Add" min="-2" max="-2" attributes="0"/> </Group> </Group> </DimensionLayout> </Layout> <SubComponents> <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.JTree" name="m_friendsOnline"> </Component> </SubComponents> </Container> <Component class="javax.swing.JButton" name="m_Chat"> <Properties> <Property name="text" type="java.lang.String" value="Chat"/> </Properties> <Events> <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="m_ChatMouseClicked"/> </Events> </Component> <Component class="javax.swing.JButton" name="m_Add"> <Properties> <Property name="text" type="java.lang.String" value="Add/Delete a Friend..."/> </Properties> <Events> <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="m_AddMouseClicked"/> </Events> </Component> </SubComponents> </Container> <Component class="javax.swing.JLabel" name="m_ConnectionStatus"> <Properties> <Property name="text" type="java.lang.String" value="Disconnected"/> </Properties> </Component> </SubComponents></Form>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?