📄 deptmanagerframe.form
字号:
<?xml version="1.0" encoding="UTF-8" ?><Form version="1.3" type="org.netbeans.modules.form.forminfo.JInternalFrameFormInfo"> <Properties> <Property name="closable" type="boolean" value="true"/> <Property name="iconifiable" type="boolean" value="true"/> <Property name="maximizable" type="boolean" value="true"/> <Property name="resizable" type="boolean" value="true"/> <Property name="title" type="java.lang.String" value="部门管理"/> </Properties> <SyntheticProperties> <SyntheticProperty name="formSizePolicy" type="int" value="1"/> </SyntheticProperties> <Events> <EventHandler event="componentShown" listener="java.awt.event.ComponentListener" parameters="java.awt.event.ComponentEvent" handler="formComponentShown"/> </Events> <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"/> <Group type="103" groupAlignment="1" attributes="0"> <Group type="102" attributes="0"> <Component id="insertButton" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Component id="deleteButton" min="-2" max="-2" attributes="0"/> </Group> <Component id="deptTableScrollPane" pref="219" max="32767" attributes="0"/> </Group> <EmptySpace max="-2" attributes="0"/> <Component id="deptInfoPanel" max="32767" attributes="0"/> <EmptySpace min="-2" max="-2" attributes="0"/> </Group> </Group> </DimensionLayout> <DimensionLayout dim="1"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" alignment="0" attributes="0"> <EmptySpace min="-2" max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" alignment="1" attributes="0"> <Component id="deptTableScrollPane" pref="303" max="32767" attributes="2"/> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="deleteButton" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="insertButton" alignment="3" min="-2" max="-2" attributes="0"/> </Group> </Group> <Component id="deptInfoPanel" alignment="0" max="32767" attributes="2"/> </Group> <EmptySpace min="-2" max="-2" attributes="0"/> </Group> </Group> </DimensionLayout> </Layout> <SubComponents> <Container class="javax.swing.JPanel" name="deptInfoPanel"> <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="部门信息"> <Font PropertyName="font" name="新宋体" size="12" style="0"/> </TitledBorder> </Border> </Property> </Properties> <Layout> <DimensionLayout dim="0"> <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" attributes="0"> <Group type="103" groupAlignment="1" attributes="0"> <Component id="deptIdLabel" min="-2" max="-2" attributes="0"/> <Component id="deptNameLabel" alignment="1" min="-2" max="-2" attributes="0"/> <Component id="descLabel" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace min="-2" max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" attributes="0"> <Group type="103" groupAlignment="1" attributes="0"> <Group type="102" alignment="0" attributes="0"> <Component id="deptIdText" pref="107" max="32767" attributes="0"/> <EmptySpace min="91" pref="91" max="91" attributes="0"/> </Group> <Component id="deptNameText" alignment="0" pref="198" max="32767" attributes="0"/> </Group> <EmptySpace min="-2" pref="26" max="-2" attributes="0"/> </Group> <Group type="102" attributes="0"> <Component id="descScrollPane" pref="214" max="32767" attributes="0"/> <EmptySpace max="-2" attributes="0"/> </Group> </Group> </Group> <Group type="102" alignment="1" attributes="0"> <Component id="updateButton" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> </Group> </Group> </Group> </Group> </DimensionLayout> <DimensionLayout dim="1"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" alignment="0" attributes="0"> <EmptySpace min="-2" max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="deptIdText" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="deptIdLabel" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace min="-2" pref="17" max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="deptNameLabel" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="deptNameText" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace min="-2" pref="22" max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Component id="descLabel" min="-2" max="-2" attributes="0"/> <Component id="descScrollPane" min="-2" pref="151" max="-2" attributes="0"/> </Group> <EmptySpace pref="30" max="32767" attributes="0"/> <Component id="updateButton" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> </Group> </Group> </DimensionLayout> </Layout> <SubComponents> <Component class="javax.swing.JLabel" name="deptIdLabel"> <Properties> <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> <Font name="新宋体" size="12" style="0"/> </Property> <Property name="text" type="java.lang.String" value="部门Id:"/> </Properties> </Component> <Component class="javax.swing.JLabel" name="deptNameLabel"> <Properties> <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> <Font name="新宋体" size="12" style="0"/> </Property> <Property name="text" type="java.lang.String" value="部门名称:"/> </Properties> </Component> <Component class="javax.swing.JLabel" name="descLabel"> <Properties> <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> <Font name="新宋体" size="12" style="0"/> </Property> <Property name="text" type="java.lang.String" value="简介:"/> </Properties> </Component> <Component class="javax.swing.JTextField" name="deptIdText"> <Properties> <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> <Font name="新宋体" size="12" style="0"/> </Property> </Properties> </Component> <Component class="javax.swing.JTextField" name="deptNameText"> <Properties> <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> <Font name="新宋体" size="12" style="0"/> </Property> </Properties> </Component> <Container class="javax.swing.JScrollPane" name="descScrollPane"> <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="descText"> <Properties> <Property name="columns" type="int" value="17"/> <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> <Font name="新宋体" size="13" style="0"/> </Property> <Property name="rows" type="int" value="5"/> </Properties> </Component> </SubComponents> </Container> <Component class="javax.swing.JButton" name="updateButton"> <Properties> <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> <Font name="新宋体" size="12" style="0"/> </Property> <Property name="mnemonic" type="int" value="77"/> <Property name="text" type="java.lang.String" value="修改(M)"/> </Properties> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="updateButtonActionPerformed"/> </Events> </Component> </SubComponents> </Container> <Container class="javax.swing.JScrollPane" name="deptTableScrollPane"> <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.JTable" name="deptTable"> <Properties> <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> <Font name="新宋体" size="12" style="0"/> </Property> <Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.editors2.TableModelEditor"> <Table columnCount="2" rowCount="0"> <Column editable="false" title="部门Id" type="java.lang.String"/> <Column editable="false" title="部门名称" type="java.lang.String"/> </Table> </Property> <Property name="autoResizeMode" type="int" value="4"/> </Properties> <Events> <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="deptTableMouseClicked"/> </Events> </Component> </SubComponents> </Container> <Component class="javax.swing.JButton" name="deleteButton"> <Properties> <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> <Font name="新宋体" size="12" style="0"/> </Property> <Property name="mnemonic" type="int" value="68"/> <Property name="text" type="java.lang.String" value="删除(D)"/> </Properties> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="deleteButtonActionPerformed"/> </Events> </Component> <Component class="javax.swing.JButton" name="insertButton"> <Properties> <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> <Font name="新宋体" size="12" style="0"/> </Property> <Property name="mnemonic" type="int" value="65"/> <Property name="text" type="java.lang.String" value="新增(A)"/> </Properties> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="insertButtonActionPerformed"/> </Events> </Component> </SubComponents></Form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -