?? mainframe.form
字號:
<?xml version="1.0" encoding="UTF-8" ?><Form version="1.3" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> <NonVisualComponents> <Menu class="javax.swing.JPopupMenu" name="jPopupMenu1"> <SubComponents> <MenuItem class="javax.swing.JMenuItem" name="jMenuItem1"> <Properties> <Property name="accelerator" type="javax.swing.KeyStroke" editor="org.netbeans.modules.form.editors.KeyStrokeEditor"> <KeyStroke key="Shift+Ctrl+J"/> </Property> <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> <MenuItem class="javax.swing.JMenuItem" name="jMenuItem3"> <Properties> <Property name="text" type="java.lang.String" value="修改"/> </Properties> </MenuItem> </SubComponents> </Menu> <Container class="javax.swing.JDialog" name="jDialog1"> <Properties> <Property name="bounds" type="java.awt.Rectangle" editor="org.netbeans.beaninfo.editors.RectangleEditor"> <Rectangle value="[200, 250, 500, 350]"/> </Property> <Property name="modal" type="boolean" value="true"/> </Properties> <Events> <EventHandler event="windowGainedFocus" listener="java.awt.event.WindowFocusListener" parameters="java.awt.event.WindowEvent" handler="jDialog1WindowGainedFocus"/> </Events> <Layout> <DimensionLayout dim="0"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" alignment="0" attributes="0"> <EmptySpace min="-2" pref="160" max="-2" attributes="0"/> <Component id="jLabel8" min="-2" max="-2" attributes="0"/> <EmptySpace min="-2" pref="182" max="-2" attributes="0"/> </Group> <Group type="102" attributes="0"> <Group type="103" groupAlignment="1" attributes="0"> <Group type="102" attributes="0"> <EmptySpace min="-2" pref="34" max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Component id="jLabel2" alignment="0" min="-2" max="-2" attributes="0"/> <Component id="jLabel4" alignment="0" min="-2" max="-2" attributes="0"/> <Component id="jLabel6" alignment="0" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace min="-2" pref="21" max="-2" attributes="0"/> <Group type="103" groupAlignment="1" attributes="0"> <Component id="jComboBoxMajor" pref="100" max="32767" attributes="1"/> <Component id="jComboBox1" alignment="0" pref="100" max="32767" attributes="1"/> <Component id="jTextFieldID" alignment="0" pref="100" max="32767" attributes="1"/> <Component id="jLabel14" alignment="0" pref="100" max="32767" attributes="0"/> </Group> <EmptySpace min="-2" pref="58" max="-2" attributes="0"/> </Group> <Group type="102" alignment="1" attributes="0"> <EmptySpace max="-2" attributes="0"/> <Component id="jButtonDialog1Conform" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> </Group> </Group> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" attributes="0"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" attributes="0"> <Group type="103" groupAlignment="0" attributes="0"> <Component id="jLabel5" alignment="0" min="-2" max="-2" attributes="0"/> <Component id="jLabel3" alignment="0" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace min="-2" pref="16" max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Component id="jTextFieldAge" alignment="0" pref="104" max="32767" attributes="1"/> <Group type="103" alignment="0" groupAlignment="1" max="-2" attributes="0"> <Component id="jLabel15" alignment="0" max="32767" attributes="1"/> <Component id="jTextFieldName" alignment="0" pref="100" max="32767" attributes="1"/> </Group> <Component id="jLabel16" alignment="0" pref="104" max="32767" attributes="0"/> </Group> </Group> <Group type="102" alignment="0" attributes="0"> <Component id="jLabel7" min="-2" max="-2" attributes="0"/> <EmptySpace min="-2" pref="16" max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Component id="jLabel17" alignment="0" pref="104" max="32767" attributes="0"/> <Component id="jTextFieldClass" alignment="0" pref="104" max="32767" attributes="1"/> </Group> </Group> </Group> <EmptySpace min="-2" pref="70" max="-2" attributes="0"/> </Group> <Group type="102" alignment="0" attributes="0"> <EmptySpace max="-2" attributes="0"/> <Component id="jButtonDialog1Cancel" 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" pref="18" max="-2" attributes="0"/> <Component id="jLabel8" min="-2" pref="30" max="-2" attributes="0"/> <EmptySpace min="-2" pref="42" max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jTextFieldID" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jTextFieldName" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="jLabel14" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jLabel15" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="jLabel4" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jComboBox1" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jLabel5" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jTextFieldAge" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace max="-2" attributes="0"/> <Component id="jLabel16" min="-2" max="-2" attributes="0"/> <EmptySpace min="-2" pref="14" max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="jLabel6" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jComboBoxMajor" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jLabel7" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jTextFieldClass" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace max="-2" attributes="0"/> <Component id="jLabel17" min="-2" max="-2" attributes="0"/> <EmptySpace pref="25" max="32767" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="jButtonDialog1Cancel" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jButtonDialog1Conform" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace min="-2" pref="21" max="-2" attributes="0"/> </Group> </Group> </DimensionLayout> </Layout> <SubComponents> <Component class="javax.swing.JLabel" name="jLabel2"> <Properties> <Property name="text" type="java.lang.String" value="学号:"/> </Properties> </Component> <Component class="javax.swing.JTextField" name="jTextFieldID"> <Properties> <Property name="text" type="java.lang.String" value="12"/> </Properties> <Events> <EventHandler event="focusGained" listener="java.awt.event.FocusListener" parameters="java.awt.event.FocusEvent" handler="jTextFieldIDFocusGained"/> </Events> </Component> <Component class="javax.swing.JLabel" name="jLabel3"> <Properties> <Property name="text" type="java.lang.String" value="姓名:"/> </Properties> </Component> <Component class="javax.swing.JTextField" name="jTextFieldName"> <Properties> <Property name="text" type="java.lang.String" value="wangping"/> </Properties> <Events> <EventHandler event="focusGained" listener="java.awt.event.FocusListener" parameters="java.awt.event.FocusEvent" handler="jTextFieldNameFocusGained"/> </Events> </Component> <Component class="javax.swing.JComboBox" name="jComboBox1"> <Properties> <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor"> <StringArray count="2"> <StringItem index="0" value="male"/> <StringItem index="1" value="female"/> </StringArray> </Property> </Properties> </Component> <Component class="javax.swing.JLabel" name="jLabel4"> <Properties> <Property name="text" type="java.lang.String" value="性别:"/> </Properties> </Component> <Component class="javax.swing.JLabel" name="jLabel5"> <Properties> <Property name="text" type="java.lang.String" value="年龄:"/> </Properties> </Component> <Component class="javax.swing.JTextField" name="jTextFieldAge"> <Properties> <Property name="text" type="java.lang.String" value="21"/> </Properties> <Events> <EventHandler event="focusGained" listener="java.awt.event.FocusListener" parameters="java.awt.event.FocusEvent" handler="jTextFieldAgeFocusGained"/> </Events> </Component> <Component class="javax.swing.JLabel" name="jLabel6"> <Properties> <Property name="text" type="java.lang.String" value="专业:"/> </Properties> </Component> <Component class="javax.swing.JLabel" name="jLabel7"> <Properties> <Property name="text" type="java.lang.String" value="班级:"/> </Properties> </Component> <Component class="javax.swing.JTextField" name="jTextFieldClass"> <Properties> <Property name="text" type="java.lang.String" value="0506"/> </Properties> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jTextFieldClassActionPerformed"/> <EventHandler event="focusGained" listener="java.awt.event.FocusListener" parameters="java.awt.event.FocusEvent" handler="jTextFieldClassFocusGained"/> </Events>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -