progressbardemo.form

来自「java netbeans 学习程序合集」· FORM 代码 · 共 81 行

FORM
81
字号
<?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>  <AuxValues>    <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>    <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="2"/>    <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">              <Group type="103" groupAlignment="0" attributes="0">                  <Group type="102" alignment="0" attributes="0">                      <EmptySpace min="-2" pref="77" max="-2" attributes="0"/>                      <Component id="jButton1" min="-2" max="-2" attributes="0"/>                  </Group>                  <Group type="102" alignment="0" attributes="0">                      <EmptySpace min="-2" pref="41" max="-2" attributes="0"/>                      <Group type="103" groupAlignment="0" max="-2" attributes="0">                          <Component id="jScrollPane1" alignment="0" max="32767" attributes="1"/>                          <Component id="jProgressBar1" alignment="0" pref="288" max="32767" attributes="1"/>                      </Group>                  </Group>              </Group>              <EmptySpace pref="55" 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"/>              <Component id="jScrollPane1" min="-2" pref="249" max="-2" attributes="0"/>              <EmptySpace min="-2" pref="61" max="-2" attributes="0"/>              <Component id="jProgressBar1" min="-2" max="-2" attributes="0"/>              <EmptySpace pref="24" max="32767" attributes="0"/>              <Component id="jButton1" min="-2" max="-2" attributes="0"/>              <EmptySpace max="-2" attributes="0"/>          </Group>      </Group>    </DimensionLayout>  </Layout>  <SubComponents>    <Component class="javax.swing.JProgressBar" name="jProgressBar1">    </Component>    <Component class="javax.swing.JButton" name="jButton1">      <Properties>        <Property name="text" type="java.lang.String" value="Start"/>      </Properties>      <Events>        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton1ActionPerformed"/>      </Events>    </Component>    <Container class="javax.swing.JScrollPane" name="jScrollPane1">      <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="jTextArea1">          <Properties>            <Property name="columns" type="int" value="20"/>            <Property name="rows" type="int" value="5"/>          </Properties>        </Component>      </SubComponents>    </Container>  </SubComponents></Form>

⌨️ 快捷键说明

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