⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 star.form

📁 计算星座的代码..比较简单..不过java初学者可以参考下哈..是吧
💻 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"/>    <Property name="title" type="java.lang.String" value="&#x661f;&#x5ea7;&#x67e5;&#x770b;&#x5668; BY Amy Show"/>  </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="1"/>    <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">          <Component id="jPanel1" alignment="0" max="32767" attributes="0"/>      </Group>    </DimensionLayout>    <DimensionLayout dim="1">      <Group type="103" groupAlignment="0" attributes="0">          <Component id="jPanel1" alignment="0" max="32767" attributes="0"/>      </Group>    </DimensionLayout>  </Layout>  <SubComponents>    <Container class="javax.swing.JPanel" name="jPanel1">      <Layout>        <DimensionLayout dim="0">          <Group type="103" groupAlignment="0" attributes="0">              <Group type="102" attributes="0">                  <EmptySpace max="-2" attributes="0"/>                  <Component id="jComboBox1" min="-2" max="-2" attributes="0"/>                  <EmptySpace max="-2" attributes="0"/>                  <Component id="jLabel2" min="-2" max="-2" attributes="0"/>                  <EmptySpace max="-2" attributes="0"/>                  <Component id="jComboBox2" min="-2" max="-2" attributes="0"/>                  <EmptySpace max="-2" attributes="0"/>                  <Component id="jLabel3" min="-2" max="-2" attributes="0"/>                  <EmptySpace pref="49" max="32767" attributes="0"/>                  <Component id="jButton1" min="-2" max="-2" attributes="0"/>                  <EmptySpace max="-2" attributes="0"/>              </Group>              <Component id="jPanel2" alignment="0" max="32767" attributes="0"/>              <Group type="102" alignment="0" attributes="0">                  <EmptySpace max="-2" attributes="0"/>                  <Component id="jLabel1" min="-2" max="-2" attributes="0"/>                  <EmptySpace pref="162" 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" 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="jComboBox2" alignment="3" min="-2" max="-2" attributes="0"/>                      <Component id="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/>                      <Component id="jButton1" alignment="3" min="-2" max="-2" attributes="0"/>                      <Component id="jComboBox1" alignment="3" min="-2" max="-2" attributes="0"/>                  </Group>                  <EmptySpace max="-2" attributes="0"/>                  <Component id="jPanel2" max="32767" attributes="0"/>              </Group>          </Group>        </DimensionLayout>      </Layout>      <SubComponents>        <Component class="javax.swing.JLabel" name="jLabel1">          <Properties>            <Property name="text" type="java.lang.String" value="&#x8bf7;&#x8f93;&#x5165;&#x751f;&#x65e5;:"/>          </Properties>        </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="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="getMonth"/>          </Events>        </Component>        <Component class="javax.swing.JLabel" name="jLabel2">          <Properties>            <Property name="text" type="java.lang.String" value="&#x6708;"/>          </Properties>        </Component>        <Component class="javax.swing.JComboBox" name="jComboBox2">          <Properties>            <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">              <StringArray count="31">                <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"/>                <StringItem index="12" value="13"/>                <StringItem index="13" value="14"/>                <StringItem index="14" value="15"/>                <StringItem index="15" value="16"/>                <StringItem index="16" value="17"/>                <StringItem index="17" value="18"/>                <StringItem index="18" value="19"/>                <StringItem index="19" value="20"/>                <StringItem index="20" value="21"/>                <StringItem index="21" value="22"/>                <StringItem index="22" value="23"/>                <StringItem index="23" value="24"/>                <StringItem index="24" value="25"/>                <StringItem index="25" value="26"/>                <StringItem index="26" value="27"/>                <StringItem index="27" value="28"/>                <StringItem index="28" value="29"/>                <StringItem index="29" value="30"/>                <StringItem index="30" value="31"/>              </StringArray>            </Property>          </Properties>          <Events>            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jComboBox2ActionPerformed"/>            <EventHandler event="ancestorMoved" listener="javax.swing.event.AncestorListener" parameters="javax.swing.event.AncestorEvent" handler="getDay"/>          </Events>        </Component>        <Component class="javax.swing.JLabel" name="jLabel3">          <Properties>            <Property name="text" type="java.lang.String" value="&#x65e5;"/>          </Properties>        </Component>        <Component class="javax.swing.JButton" name="jButton1">          <Properties>            <Property name="text" type="java.lang.String" value="&#x67e5;&#x770b;"/>          </Properties>          <Events>            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="down"/>          </Events>        </Component>        <Container class="javax.swing.JPanel" name="jPanel2">          <Layout>            <DimensionLayout dim="0">              <Group type="103" groupAlignment="0" attributes="0">                  <Component id="jScrollPane1" alignment="0" pref="238" max="32767" attributes="0"/>              </Group>            </DimensionLayout>            <DimensionLayout dim="1">              <Group type="103" groupAlignment="0" attributes="0">                  <Component id="jScrollPane1" alignment="0" max="32767" attributes="1"/>              </Group>            </DimensionLayout>          </Layout>          <SubComponents>            <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="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">                      <Color blue="d8" green="e9" red="ec" type="rgb"/>                    </Property>                    <Property name="columns" type="int" value="20"/>                    <Property name="editable" type="boolean" value="false"/>                    <Property name="lineWrap" type="boolean" value="true"/>                    <Property name="rows" type="int" value="6"/>                    <Property name="text" type="java.lang.String" value="*&#x661f;&#x5ea7;&#x67e5;&#x770b;&#x5668;*&#xa;BY Amy Show&#xa;2006.1.10"/>                    <Property name="wrapStyleWord" type="boolean" value="true"/>                    <Property name="autoscrolls" type="boolean" value="false"/>                  </Properties>                </Component>              </SubComponents>            </Container>          </SubComponents>        </Container>      </SubComponents>    </Container>  </SubComponents></Form>

⌨️ 快捷键说明

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