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

📄 complexcalculatorview.form

📁 一个用Java制作的实现“复数”各种操作的计算器。包括 加减乘除根模 自然对数 实幂指数 虚幂指数 正弦 余弦 正切。 主要是各种算法和类的设计。 可以供初学面向对象程序设计和Java的同学参考。
💻 FORM
📖 第 1 页 / 共 2 页
字号:
<?xml version="1.0" encoding="UTF-8" ?><Form version="1.5" maxVersion="1.6" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">  <Properties>    <Property name="defaultCloseOperation" type="int" value="3"/>    <Property name="title" type="java.lang.String" resourceKey="Form.title"/>    <Property name="bounds" type="java.awt.Rectangle" editor="org.netbeans.beaninfo.editors.RectangleEditor">      <Rectangle value="[0, 0, 0, 0]"/>    </Property>    <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor">      <Color id="Default Cursor"/>    </Property>    <Property name="name" type="java.lang.String" value="Form" noResource="true"/>    <Property name="resizable" type="boolean" value="false"/>  </Properties>  <SyntheticProperties>    <SyntheticProperty name="formSizePolicy" type="int" value="1"/>  </SyntheticProperties>  <AuxValues>    <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="2"/>    <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="true"/>    <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>    <AuxValue name="FormSettings_i18nAutoMode" 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">          <Group type="102" alignment="0" attributes="0">              <EmptySpace max="-2" attributes="0"/>              <Group type="103" groupAlignment="0" attributes="0">                  <Component id="jLabel1" alignment="0" min="-2" max="-2" attributes="0"/>                  <Component id="jLabel6" alignment="0" min="-2" max="-2" attributes="0"/>                  <Group type="102" alignment="1" attributes="0">                      <Group type="103" groupAlignment="0" attributes="0">                          <Group type="102" attributes="0">                              <Group type="103" groupAlignment="0" attributes="0">                                  <Component id="txtREAL1" min="-2" pref="151" max="-2" attributes="1"/>                                  <Component id="txtREAL2" alignment="0" pref="151" max="32767" attributes="1"/>                              </Group>                              <EmptySpace max="-2" attributes="0"/>                              <Group type="103" groupAlignment="0" max="-2" attributes="0">                                  <Group type="102" alignment="0" attributes="0">                                      <Component id="jLabel2" min="-2" max="-2" attributes="0"/>                                      <EmptySpace max="-2" attributes="0"/>                                      <Component id="txtIMAG1" min="-2" pref="160" max="-2" attributes="3"/>                                  </Group>                                  <Group type="102" alignment="0" attributes="1">                                      <Component id="jLabel4" min="-2" max="-2" attributes="0"/>                                      <EmptySpace max="-2" attributes="0"/>                                      <Component id="txtIMAG2" max="32767" attributes="1"/>                                  </Group>                              </Group>                              <EmptySpace max="-2" attributes="0"/>                          </Group>                          <Group type="102" alignment="0" attributes="0">                              <Component id="jLabel7" min="-2" max="-2" attributes="0"/>                              <EmptySpace min="-2" pref="276" max="-2" attributes="0"/>                          </Group>                      </Group>                      <Group type="103" groupAlignment="0" attributes="0">                          <Component id="jLabel3" min="-2" max="-2" attributes="0"/>                          <Component id="jLabel5" min="-2" max="-2" attributes="0"/>                      </Group>                      <EmptySpace min="-2" pref="111" max="-2" attributes="0"/>                  </Group>                  <Group type="103" alignment="0" groupAlignment="1" max="-2" attributes="0">                      <Component id="txtResult" alignment="0" max="32767" attributes="1"/>                      <Group type="102" alignment="0" attributes="0">                          <Group type="103" groupAlignment="1" max="-2" attributes="0">                              <Component id="btnPLUS" alignment="1" max="32767" attributes="1"/>                              <Component id="btnLOG" alignment="1" min="-2" max="-2" attributes="1"/>                          </Group>                          <EmptySpace max="-2" attributes="0"/>                          <Group type="103" groupAlignment="0" attributes="0">                              <Component id="btnREALPOWER" min="-2" max="-2" attributes="1"/>                              <Component id="btnMINUS" min="-2" pref="77" max="-2" attributes="1"/>                          </Group>                          <EmptySpace max="-2" attributes="0"/>                          <Group type="103" groupAlignment="0" max="-2" attributes="0">                              <Component id="btnMULT" max="32767" attributes="1"/>                              <Component id="btnIMAGPOWER" alignment="0" min="-2" max="-2" attributes="1"/>                          </Group>                          <EmptySpace max="-2" attributes="0"/>                          <Group type="103" groupAlignment="0" max="-2" attributes="0">                              <Group type="102" alignment="0" attributes="0">                                  <Component id="btnSIN" min="-2" max="-2" attributes="0"/>                                  <EmptySpace max="-2" attributes="0"/>                                  <Component id="btnCOS" min="-2" max="-2" attributes="0"/>                              </Group>                              <Group type="102" alignment="0" attributes="1">                                  <Component id="btnDIV" min="-2" max="-2" attributes="0"/>                                  <EmptySpace max="-2" attributes="0"/>                                  <Component id="btnROOT" max="32767" attributes="0"/>                              </Group>                          </Group>                          <EmptySpace max="-2" attributes="0"/>                          <Group type="103" groupAlignment="0" max="-2" attributes="0">                              <Component id="btnABS" max="32767" attributes="1"/>                              <Component id="btnTAN" alignment="0" min="-2" max="-2" attributes="1"/>                          </Group>                      </Group>                  </Group>              </Group>              <EmptySpace max="-2" attributes="0"/>          </Group>      </Group>    </DimensionLayout>    <DimensionLayout dim="1">      <Group type="103" groupAlignment="0" attributes="0">          <Group type="102" alignment="1" 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="txtREAL1" alignment="3" min="-2" max="-2" attributes="0"/>                  <Component id="txtIMAG1" alignment="3" min="-2" max="-2" attributes="0"/>                  <Component id="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/>              </Group>              <EmptySpace max="-2" attributes="0"/>              <Component id="jLabel6" min="-2" max="-2" attributes="0"/>              <EmptySpace max="-2" attributes="0"/>              <Group type="103" groupAlignment="0" attributes="0">                  <Group type="103" alignment="0" groupAlignment="3" attributes="0">                      <Component id="txtIMAG2" alignment="3" min="-2" max="-2" attributes="0"/>                      <Component id="jLabel5" alignment="3" min="-2" max="-2" attributes="0"/>                  </Group>                  <Group type="103" alignment="0" groupAlignment="3" attributes="0">                      <Component id="txtREAL2" alignment="3" min="-2" max="-2" attributes="0"/>                      <Component id="jLabel4" alignment="3" min="-2" max="-2" attributes="0"/>                  </Group>              </Group>              <EmptySpace max="-2" attributes="0"/>              <Component id="jLabel7" min="-2" max="-2" attributes="0"/>              <EmptySpace max="-2" attributes="0"/>              <Component id="txtResult" min="-2" max="-2" attributes="0"/>              <EmptySpace pref="15" max="32767" attributes="0"/>              <Group type="103" groupAlignment="0" attributes="0">                  <Group type="102" alignment="0" attributes="0">                      <Group type="103" groupAlignment="3" attributes="0">                          <Component id="btnPLUS" alignment="3" min="-2" max="-2" attributes="0"/>                          <Component id="btnMINUS" alignment="3" min="-2" max="-2" attributes="0"/>                      </Group>                      <EmptySpace max="-2" attributes="0"/>                      <Group type="103" groupAlignment="3" attributes="0">                          <Component id="btnLOG" alignment="3" min="-2" max="-2" attributes="0"/>                          <Component id="btnREALPOWER" alignment="3" min="-2" max="-2" attributes="0"/>                      </Group>                  </Group>                  <Group type="102" alignment="0" attributes="0">                      <Group type="103" groupAlignment="3" attributes="0">                          <Component id="btnMULT" alignment="3" min="-2" max="-2" attributes="0"/>                          <Component id="btnDIV" alignment="3" min="-2" max="-2" attributes="0"/>                          <Component id="btnROOT" alignment="3" min="-2" max="-2" attributes="0"/>                          <Component id="btnABS" alignment="3" min="-2" max="-2" attributes="0"/>                      </Group>                      <EmptySpace max="-2" attributes="0"/>                      <Group type="103" groupAlignment="3" attributes="0">                          <Component id="btnIMAGPOWER" alignment="3" min="-2" max="-2" attributes="0"/>                          <Component id="btnSIN" alignment="3" min="-2" max="-2" attributes="0"/>                          <Component id="btnCOS" alignment="3" min="-2" max="-2" attributes="0"/>                          <Component id="btnTAN" alignment="3" min="-2" max="-2" attributes="0"/>                      </Group>                  </Group>              </Group>              <EmptySpace max="-2" attributes="0"/>          </Group>      </Group>    </DimensionLayout>  </Layout>  <SubComponents>    <Component class="javax.swing.JButton" name="btnPLUS">      <Properties>        <Property name="action" type="javax.swing.Action" editor="org.netbeans.modules.swingapp.ActionEditor">          <action class="complexcalculator.ComplexCalculatorView" id="plus" methodName="plus"/>        </Property>        <Property name="text" type="java.lang.String" resourceKey="btnPLUS.text"/>        <Property name="toolTipText" type="java.lang.String" resourceKey="btnPLUS.toolTipText"/>        <Property name="name" type="java.lang.String" value="btnPLUS" noResource="true"/>      </Properties>    </Component>    <Component class="javax.swing.JButton" name="btnMINUS">      <Properties>        <Property name="action" type="javax.swing.Action" editor="org.netbeans.modules.swingapp.ActionEditor">          <action class="complexcalculator.ComplexCalculatorView" id="minus" methodName="minus"/>        </Property>        <Property name="text" type="java.lang.String" resourceKey="btnMINUS.text"/>        <Property name="toolTipText" type="java.lang.String" resourceKey="btnMINUS.toolTipText"/>

⌨️ 快捷键说明

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