jrpropertydialog.form

来自「优秀的打印控件全源代码,类似水晶表的设计器!」· FORM 代码 · 共 134 行

FORM
134
字号
<?xml version="1.0" encoding="UTF-8" ?><Form version="1.0" type="org.netbeans.modules.form.forminfo.JDialogFormInfo">  <Properties>    <Property name="title" type="java.lang.String" value="Add/modify property"/>    <Property name="modal" type="boolean" value="true"/>  </Properties>  <SyntheticProperties>    <SyntheticProperty name="formSize" 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,0,-12,0,0,1,64"/>    <SyntheticProperty name="formSizePolicy" type="int" value="0"/>    <SyntheticProperty name="generateSize" type="boolean" value="true"/>    <SyntheticProperty name="generateCenter" type="boolean" value="true"/>  </SyntheticProperties>  <Events>    <EventHandler event="windowClosing" listener="java.awt.event.WindowListener" parameters="java.awt.event.WindowEvent" handler="closeDialog"/>  </Events>  <AuxValues>    <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,0,-46,0,0,1,56"/>  </AuxValues>  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>  <SubComponents>    <Component class="javax.swing.JLabel" name="jLabel1">      <Properties>        <Property name="text" type="java.lang.String" value="Field name"/>        <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">          <Dimension value="[100, 15]"/>        </Property>        <Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">          <Dimension value="[1000, 100]"/>        </Property>        <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">          <Dimension value="[100, 15]"/>        </Property>      </Properties>      <Constraints>        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">          <GridBagConstraints gridX="0" gridY="0" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="4" insetsBottom="0" insetsRight="4" anchor="16" weightX="0.0" weightY="0.0"/>        </Constraint>      </Constraints>    </Component>    <Component class="javax.swing.JTextField" name="jTextFieldName">      <Properties>        <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">          <Font name="Dialog" size="11" style="0"/>        </Property>      </Properties>      <Constraints>        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">          <GridBagConstraints gridX="0" gridY="1" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="4" insetsBottom="0" insetsRight="4" anchor="16" weightX="0.0" weightY="0.0"/>        </Constraint>      </Constraints>    </Component>    <Component class="javax.swing.JLabel" name="jLabel4">      <Properties>        <Property name="text" type="java.lang.String" value="Field description"/>      </Properties>      <Constraints>        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">          <GridBagConstraints gridX="0" gridY="2" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="4" insetsBottom="0" insetsRight="4" anchor="10" weightX="0.0" weightY="0.0"/>        </Constraint>      </Constraints>    </Component>    <Container class="javax.swing.JScrollPane" name="jScrollPane1">      <Properties>        <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">          <Dimension value="[200, 22]"/>        </Property>        <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">          <Dimension value="[200, 67]"/>        </Property>      </Properties>      <Constraints>        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">          <GridBagConstraints gridX="0" gridY="3" gridWidth="1" gridHeight="1" fill="1" ipadX="1" ipadY="1" insetsTop="0" insetsLeft="4" insetsBottom="0" insetsRight="4" anchor="10" weightX="1.0" weightY="1.0"/>        </Constraint>      </Constraints>      <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>      <SubComponents>        <Component class="javax.swing.JTextArea" name="jTextAreaDescription">          <Properties>            <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">              <Dimension value="[0, 64]"/>            </Property>            <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">              <Dimension value="[0, 64]"/>            </Property>          </Properties>        </Component>      </SubComponents>    </Container>    <Container class="javax.swing.JPanel" name="jPanel1">      <Properties>        <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">          <Dimension value="[250, 35]"/>        </Property>        <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">          <Dimension value="[200, 35]"/>        </Property>      </Properties>      <Constraints>        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">          <GridBagConstraints gridX="0" gridY="4" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="15" weightX="0.0" weightY="0.0"/>        </Constraint>      </Constraints>      <Layout class="org.netbeans.modules.form.compat2.layouts.DesignFlowLayout">        <Property name="alignment" type="int" value="2"/>      </Layout>      <SubComponents>        <Component class="javax.swing.JButton" name="jButtonOK">          <Properties>            <Property name="text" type="java.lang.String" value="OK"/>            <Property name="mnemonic" type="int" value="111"/>          </Properties>          <Events>            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonOKActionPerformed"/>          </Events>        </Component>        <Component class="javax.swing.JButton" name="jButtonCancel">          <Properties>            <Property name="text" type="java.lang.String" value="Cancel"/>            <Property name="mnemonic" type="int" value="99"/>          </Properties>          <Events>            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonCancelActionPerformed"/>          </Events>        </Component>      </SubComponents>    </Container>  </SubComponents></Form>

⌨️ 快捷键说明

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