mainframe.form

来自「利用JAVA实现的利用进化算法对人口增长进行仿真的源码」· FORM 代码 · 共 277 行

FORM
277
字号
<?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="File">          <Properties>            <Property name="text" type="java.lang.String" value="File"/>          </Properties>          <SubComponents>            <MenuItem class="javax.swing.JMenuItem" name="exit">              <Properties>                <Property name="text" type="java.lang.String" value="Exit"/>              </Properties>            </MenuItem>          </SubComponents>        </Menu>        <Menu class="javax.swing.JMenu" name="View">          <Properties>            <Property name="text" type="java.lang.String" value="View"/>          </Properties>          <SubComponents>            <MenuItem class="javax.swing.JMenuItem" name="GraphicView">              <Properties>                <Property name="text" type="java.lang.String" value="Graphics"/>                <Property name="actionCommand" type="java.lang.String" value="graphicsShow"/>              </Properties>            </MenuItem>            <MenuItem class="javax.swing.JMenuItem" name="DebugTextView">              <Properties>                <Property name="text" type="java.lang.String" value="DebugText"/>                <Property name="actionCommand" type="java.lang.String" value="debugShow"/>              </Properties>            </MenuItem>          </SubComponents>        </Menu>        <Menu class="javax.swing.JMenu" name="Generator">          <Properties>            <Property name="text" type="java.lang.String" value="Generator"/>          </Properties>          <SubComponents>            <MenuItem class="javax.swing.JMenuItem" name="CreateWorld">              <Properties>                <Property name="text" type="java.lang.String" value="Create World"/>              </Properties>            </MenuItem>            <MenuItem class="javax.swing.JMenuItem" name="Settings">              <Properties>                <Property name="text" type="java.lang.String" value="Options"/>              </Properties>            </MenuItem>          </SubComponents>        </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_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"/>    <AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,-50,0,0,1,-2"/>  </AuxValues>  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>  <SubComponents>    <Container class="javax.swing.JPanel" name="jPanel1">      <Properties>        <Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">          <Dimension value="[100, 32767]"/>        </Property>        <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">          <Dimension value="[120, 100]"/>        </Property>      </Properties>      <Constraints>        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">          <BorderConstraints direction="West"/>        </Constraint>      </Constraints>      <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">                      <Component id="jLabel7" alignment="0" min="-2" max="-2" attributes="0"/>                      <Component id="jLabel1" alignment="0" min="-2" max="-2" attributes="0"/>                      <Group type="102" alignment="0" attributes="1">                          <Component id="jLabel2" min="-2" max="-2" attributes="0"/>                          <EmptySpace max="-2" attributes="0"/>                          <Component id="jLabel8" min="-2" max="-2" attributes="0"/>                      </Group>                      <Component id="jButton3" alignment="0" pref="100" max="32767" attributes="1"/>                      <Component id="jButton1" alignment="0" pref="100" max="32767" attributes="1"/>                      <Component id="jButton2" alignment="0" pref="100" max="32767" attributes="1"/>                      <Component id="jSlider1" alignment="0" min="-2" max="-2" attributes="0"/>                      <Component id="jLabel5" alignment="0" min="-2" max="-2" attributes="0"/>                      <Component id="jLabel4" alignment="0" min="-2" max="-2" attributes="0"/>                      <Component id="jLabel3" alignment="0" min="-2" max="-2" attributes="0"/>                      <Component id="jLabel6" alignment="0" min="-2" max="-2" attributes="0"/>                      <Component id="jLabel10" alignment="0" min="-2" max="-2" attributes="0"/>                      <Component id="jProgressBar1" alignment="0" min="-2" max="-2" attributes="0"/>                      <Component id="jLabel9" alignment="0" min="-2" max="-2" attributes="0"/>                      <Component id="jProgressBar2" alignment="0" min="-2" max="-2" attributes="0"/>                  </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">                  <EmptySpace max="-2" attributes="0"/>                  <Component id="jLabel1" min="-2" max="-2" attributes="0"/>                  <EmptySpace max="-2" attributes="0"/>                  <Group type="103" groupAlignment="3" attributes="0">                      <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/>                      <Component id="jLabel8" alignment="3" min="-2" max="-2" attributes="0"/>                  </Group>                  <EmptySpace min="-2" pref="4" max="-2" attributes="0"/>                  <Component id="jLabel3" min="-2" max="-2" attributes="0"/>                  <EmptySpace max="-2" attributes="0"/>                  <Component id="jLabel4" min="-2" max="-2" attributes="0"/>                  <EmptySpace max="-2" attributes="0"/>                  <Component id="jLabel5" min="-2" max="-2" attributes="0"/>                  <EmptySpace min="-2" pref="48" max="-2" attributes="0"/>                  <Component id="jButton1" min="-2" max="-2" attributes="0"/>                  <EmptySpace max="-2" attributes="0"/>                  <Component id="jButton2" min="-2" max="-2" attributes="0"/>                  <EmptySpace max="-2" attributes="0"/>                  <Component id="jButton3" min="-2" max="-2" attributes="0"/>                  <EmptySpace max="-2" attributes="0"/>                  <Component id="jLabel6" min="-2" max="-2" attributes="0"/>                  <EmptySpace max="-2" attributes="0"/>                  <Component id="jLabel10" min="-2" max="-2" attributes="0"/>                  <EmptySpace max="-2" attributes="0"/>                  <Component id="jProgressBar1" min="-2" max="-2" attributes="0"/>                  <EmptySpace max="-2" attributes="0"/>                  <Component id="jLabel9" min="-2" max="-2" attributes="0"/>                  <EmptySpace max="-2" attributes="0"/>                  <Component id="jProgressBar2" min="-2" max="-2" attributes="0"/>                  <EmptySpace pref="55" max="32767" attributes="0"/>                  <Component id="jSlider1" min="-2" max="-2" attributes="0"/>                  <EmptySpace max="-2" attributes="0"/>                  <Component id="jLabel7" min="-2" pref="15" max="-2" attributes="0"/>              </Group>          </Group>        </DimensionLayout>      </Layout>      <SubComponents>        <Component class="javax.swing.JLabel" name="jLabel1">          <Properties>            <Property name="text" type="java.lang.String" value="Program is:"/>          </Properties>        </Component>        <Component class="javax.swing.JLabel" name="jLabel2">          <Properties>            <Property name="text" type="java.lang.String" value="jLabel2"/>          </Properties>        </Component>        <Component class="javax.swing.JLabel" name="jLabel3">          <Properties>            <Property name="text" type="java.lang.String" value="jLabel3"/>          </Properties>        </Component>        <Component class="javax.swing.JLabel" name="jLabel4">          <Properties>            <Property name="text" type="java.lang.String" value="Current Year:"/>          </Properties>        </Component>        <Component class="javax.swing.JLabel" name="jLabel5">          <Properties>            <Property name="text" type="java.lang.String" value="jLabel5"/>          </Properties>        </Component>        <Component class="javax.swing.JLabel" name="jLabel7">          <Properties>            <Property name="text" type="java.lang.String" value="jLabel7"/>          </Properties>        </Component>        <Component class="javax.swing.JSlider" name="jSlider1">          <Properties>            <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">              <Dimension value="[100, 25]"/>            </Property>          </Properties>        </Component>        <Component class="javax.swing.JButton" name="jButton1">          <Properties>            <Property name="text" type="java.lang.String" value="Start"/>          </Properties>        </Component>        <Component class="javax.swing.JButton" name="jButton2">          <Properties>            <Property name="text" type="java.lang.String" value="Pause"/>          </Properties>        </Component>        <Component class="javax.swing.JButton" name="jButton3">          <Properties>            <Property name="text" type="java.lang.String" value="Exit"/>          </Properties>        </Component>        <Component class="javax.swing.JLabel" name="jLabel8">          <Properties>            <Property name="text" type="java.lang.String" value="&amp;"/>          </Properties>        </Component>        <Component class="javax.swing.JLabel" name="jLabel6">          <Properties>            <Property name="text" type="java.lang.String" value="Infomation"/>          </Properties>        </Component>        <Component class="javax.swing.JLabel" name="jLabel10">          <Properties>            <Property name="text" type="java.lang.String" value="Total Progress"/>          </Properties>        </Component>        <Component class="javax.swing.JProgressBar" name="jProgressBar1">          <Properties>            <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">              <Dimension value="[90, 18]"/>            </Property>          </Properties>        </Component>        <Component class="javax.swing.JLabel" name="jLabel9">          <Properties>            <Property name="text" type="java.lang.String" value="Part Progress"/>          </Properties>        </Component>        <Component class="javax.swing.JProgressBar" name="jProgressBar2">          <Properties>            <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">              <Dimension value="[90, 18]"/>            </Property>          </Properties>        </Component>      </SubComponents>    </Container>    <Container class="javax.swing.JScrollPane" name="jScrollPane1">      <Constraints>        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">          <BorderConstraints direction="Center"/>        </Constraint>      </Constraints>      <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>      <SubComponents>        <Container class="javax.swing.JPanel" name="jPanel2">          <Layout>            <DimensionLayout dim="0">              <Group type="103" groupAlignment="0" attributes="0">                  <EmptySpace min="0" pref="401" max="32767" attributes="0"/>              </Group>            </DimensionLayout>            <DimensionLayout dim="1">              <Group type="103" groupAlignment="0" attributes="0">                  <EmptySpace min="0" pref="422" max="32767" attributes="0"/>              </Group>            </DimensionLayout>          </Layout>        </Container>      </SubComponents>    </Container>  </SubComponents></Form>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?