📄 main.form
字号:
<?xml version="1.0" encoding="UTF-8" ?><Form version="1.3" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> <Properties> <Property name="defaultCloseOperation" type="int" value="3"/> </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_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> <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"> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" alignment="0" attributes="0"> <Group type="103" groupAlignment="0" attributes="0"> <Component id="jScrollPane1" alignment="0" min="-2" max="-2" attributes="0"/> <Group type="102" alignment="0" attributes="1"> <Component id="jLabel1" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Component id="spnYear" min="-2" pref="77" max="-2" attributes="0"/> <EmptySpace min="-2" pref="33" max="-2" attributes="0"/> <Component id="jLabel2" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Component id="cmbMonth" min="-2" pref="76" max="-2" attributes="0"/> <EmptySpace pref="117" max="32767" attributes="0"/> <Component id="jButton1" min="-2" max="-2" attributes="0"/> </Group> <Group type="102" alignment="0" attributes="0"> <Component id="bir" min="-2" max="-2" attributes="0"/> <EmptySpace min="-2" pref="23" max="-2" attributes="0"/> <Component id="met" min="-2" max="-2" attributes="0"/> <EmptySpace min="-2" pref="27" max="-2" attributes="0"/> <Component id="game" min="-2" max="-2" attributes="0"/> </Group> <Component id="jLabel3" alignment="0" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace max="-2" attributes="0"/> </Group> <Group type="102" alignment="0" attributes="0"> <Component id="txtN" pref="442" max="32767" attributes="0"/> <EmptySpace min="-2" pref="20" 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 max="-2" attributes="0"/> <Component id="jScrollPane1" min="-2" pref="120" max="-2" 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="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="cmbMonth" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="spnYear" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jButton1" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace max="-2" attributes="0"/> <Component id="jLabel3" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Component id="txtN" min="-2" pref="109" max="-2" attributes="0"/> <EmptySpace min="-2" pref="15" max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="bir" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="met" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="game" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace max="32767" attributes="0"/> </Group> </Group> </DimensionLayout> </Layout> <SubComponents> <Component class="javax.swing.JComboBox" name="cmbMonth"> <Properties> <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor"> <StringArray count="12"> <StringItem index="0" value="1月"/> <StringItem index="1" value="2月"/> <StringItem index="2" value="3月"/> <StringItem index="3" value="4月"/> <StringItem index="4" value="5月"/> <StringItem index="5" value="6月"/> <StringItem index="6" value="7月"/> <StringItem index="7" value="8月"/> <StringItem index="8" value="9月"/> <StringItem index="9" value="10月"/> <StringItem index="10" value="11月"/> <StringItem index="11" value="12月"/> </StringArray> </Property> </Properties> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="cmbMonthActionPerformed"/> <EventHandler event="propertyChange" listener="java.beans.PropertyChangeListener" parameters="java.beans.PropertyChangeEvent" handler="cmbMonthPropertyChange"/> </Events> </Component> <Component class="javax.swing.JSpinner" name="spnYear"> <Events> <EventHandler event="stateChanged" listener="javax.swing.event.ChangeListener" parameters="javax.swing.event.ChangeEvent" handler="spnYearStateChanged"/> </Events> </Component> <Component class="javax.swing.JLabel" name="jLabel1"> <Properties> <Property name="text" type="java.lang.String" value="年:"/> </Properties> </Component> <Component class="javax.swing.JLabel" name="jLabel2"> <Properties> <Property name="text" type="java.lang.String" value="月:"/> </Properties> </Component> <Container class="javax.swing.JScrollPane" name="jScrollPane1"> <Events> <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="jScrollPane1MouseClicked"/> </Events> <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="daysTable"> <Properties> <Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.editors2.TableModelEditor"> <Table columnCount="7" rowCount="6"> <Column editable="true" title="星期日" type="java.lang.Object"/> <Column editable="true" title="星期一" type="java.lang.Object"/> <Column editable="true" title="星期二" type="java.lang.Object"/> <Column editable="true" title="星期三" type="java.lang.Object"/> <Column editable="true" title="星期四" type="java.lang.Object"/> <Column editable="true" title="星期五" type="java.lang.Object"/> <Column editable="true" title="星期六" type="java.lang.Object"/> </Table> </Property> </Properties> <Events> <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="daysTableMouseClicked"/> </Events> </Component> </SubComponents> </Container> <Component class="javax.swing.JButton" name="jButton1"> <Properties> <Property name="text" type="java.lang.String" value="删除过期安排"/> </Properties> <Events> <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="jButton1MouseClicked"/> </Events> </Component> <Component class="javax.swing.JTextField" name="txtN"> <Properties> <Property name="text" type="java.lang.String" value="jTextField1"/> </Properties> </Component> <Component class="javax.swing.JLabel" name="jLabel3"> <Properties> <Property name="text" type="java.lang.String" value="今日安排:"/> </Properties> </Component> <Component class="javax.swing.JLabel" name="bir"> <Properties> <Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> <Color blue="ff" green="99" red="37" type="rgb"/> </Property> <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> <Color blue="66" green="66" red="ff" type="rgb"/> </Property> <Property name="text" type="java.lang.String" value="生日"/> </Properties> </Component> <Component class="javax.swing.JLabel" name="met"> <Properties> <Property name="text" type="java.lang.String" value="会议"/> </Properties> </Component> <Component class="javax.swing.JLabel" name="game"> <Properties> <Property name="text" type="java.lang.String" value="娱乐"/> </Properties> </Component> </SubComponents></Form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -