📄 mainjframe.form
字号:
</Menu> </NonVisualComponents> <Properties> <Property name="defaultCloseOperation" type="int" value="3"/> <Property name="title" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> <ResourceString bundle="org/ray/ninegrid/frame.properties" key="title" replaceFormat="java.util.ResourceBundle.getBundle("{bundleNameSlashes}").getString("{key}")"/> </Property> <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> <Color id="Default Cursor"/> </Property> <Property name="locationByPlatform" type="boolean" value="true"/> </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_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="jPanel1" min="-2" pref="310" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="0" max="-2" attributes="0"> <Component id="jPanel3" min="0" max="32767" attributes="1"/> <Component id="jPanel2" alignment="0" max="32767" attributes="1"/> </Group> <EmptySpace max="32767" attributes="0"/> </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"/> <Group type="103" groupAlignment="0" attributes="0"> <Component id="jPanel1" alignment="0" min="-2" pref="310" max="-2" attributes="0"/> <Group type="102" alignment="0" attributes="0"> <Component id="jPanel2" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Component id="jPanel3" max="32767" attributes="0"/> </Group> </Group> <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="Grids"> <ResourceString PropertyName="titleX" bundle="org/ray/ninegrid/frame.properties" key="game_panel" replaceFormat="java.util.ResourceBundle.getBundle("{bundleNameSlashes}").getString("{key}")"/> </TitledBorder> </Border> </Property> </Properties> <AuxValues> <AuxValue name="JavaCodeGenerator_CreateCodePre" type="java.lang.String" value="jb=new JButton[9];"/> <AuxValue name="JavaCodeGenerator_InitCodePre" type="java.lang.String" value="for(int i=0;i<9;i++){
 jb[i]=new JButton();
 if(i==8){
 jb[i].setIcon(new javax.swing.ImageIcon(getClass().getResource("/org/ray/ninegrid/pics/"+0+".png")));
 }else{
 jb[i].setIcon(new javax.swing.ImageIcon(getClass().getResource("/org/ray/ninegrid/pics/"+(i+1)+".png")));
 }
 jb[i].setToolTipText("");
 jb[i].setEnabled(false);
 jb[i].setMargin(new java.awt.Insets(0, 0, 0, 0));
 final int index=i;
 jb[i].addActionListener(new java.awt.event.ActionListener() {
 public void actionPerformed(java.awt.event.ActionEvent evt) {
 jbActionPerformed(evt,index);
 }
 });
 jPanel1.add(jb[i]);
}"/> </AuxValues> <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridLayout"> <Property name="columns" type="int" value="3"/> <Property name="horizontalGap" type="int" value="10"/> <Property name="rows" type="int" value="3"/> <Property name="verticalGap" type="int" value="10"/> </Layout> </Container> <Container class="javax.swing.JPanel" name="jPanel2"> <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="Goal"> <ResourceString PropertyName="titleX" bundle="org/ray/ninegrid/frame.properties" key="goal_panel" replaceFormat="java.util.ResourceBundle.getBundle("{bundleNameSlashes}").getString("{key}")"/> </TitledBorder> </Border> </Property> </Properties> <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="jLabel1" min="-2" pref="111" max="-2" attributes="0"/> <EmptySpace max="32767" attributes="0"/> </Group> </Group> </DimensionLayout> <DimensionLayout dim="1"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" alignment="0" attributes="0"> <Component id="jLabel1" min="-2" pref="111" max="-2" attributes="0"/> <EmptySpace max="32767" attributes="0"/> </Group> </Group> </DimensionLayout> </Layout> <SubComponents> <Component class="javax.swing.JLabel" name="jLabel1"> <Properties> <Property name="horizontalAlignment" type="int" value="2"/> <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> <Image iconType="3" name="/org/ray/ninegrid/pics/10.png"/> </Property> <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor"> <ComponentRef name="jPanel2"/> </Property> <Property name="verticalAlignment" type="int" value="1"/> <Property name="iconTextGap" type="int" value="0"/> </Properties> </Component> </SubComponents> </Container> <Container class="javax.swing.JPanel" name="jPanel3"> <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="Statistic"> <ResourceString PropertyName="titleX" bundle="org/ray/ninegrid/frame.properties" key="statistic_panel" replaceFormat="java.util.ResourceBundle.getBundle("{bundleNameSlashes}").getString("{key}")"/> </TitledBorder> </Border> </Property> </Properties> <Layout> <DimensionLayout dim="0"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" attributes="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"> <Component id="jLabel3" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Component id="timeLabel" min="-2" max="-2" attributes="0"/> </Group> <Group type="102" alignment="0" 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 max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Component id="stepsLabel" alignment="0" min="-2" max="-2" attributes="0"/> <Component id="scoreLabel" alignment="0" min="-2" max="-2" attributes="0"/> <Component id="userLabel" alignment="0" min="-2" max="-2" attributes="0"/> </Group> </Group> </Group> </Group> <Group type="102" alignment="0" attributes="0"> <Component id="userInfo" min="-2" pref="87" max="-2" attributes="0"/> <EmptySpace pref="9" max="32767" attributes="0"/> <Component id="otherStepsLabel" min="-2" pref="25" max="-2" attributes="0"/> </Group> </Group> <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"> <Group type="103" groupAlignment="3" attributes="0"> <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="userLabel" 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="scoreLabel" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="jLabel6" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="stepsLabel" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="userInfo" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="otherStepsLabel" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="timeLabel" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace pref="14" max="32767" attributes="0"/> </Group> </Group> </DimensionLayout> </Layout> <SubComponents> <Component class="javax.swing.JLabel" name="jLabel2"> <Properties> <Property nam
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -