demojtextareaframe.form

来自「基于netbeans的java桌面应用程序合集」· FORM 代码 · 共 86 行

FORM
86
字号
<?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">              <EmptySpace min="-2" pref="89" max="-2" attributes="0"/>              <Group type="103" groupAlignment="0" max="-2" attributes="0">                  <Group type="102" alignment="0" attributes="1">                      <Component id="jButtonWrap" min="-2" max="-2" attributes="0"/>                      <EmptySpace max="32767" attributes="0"/>                      <Component id="jButtonNoWrap" min="-2" max="-2" attributes="0"/>                  </Group>                  <Component id="jScrollPane1" alignment="0" min="-2" pref="237" max="-2" attributes="0"/>              </Group>              <EmptySpace pref="74" 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 min="-2" pref="29" max="-2" attributes="0"/>              <Component id="jScrollPane1" min="-2" pref="144" max="-2" attributes="0"/>              <EmptySpace min="-2" pref="63" max="-2" attributes="0"/>              <Group type="103" groupAlignment="3" attributes="0">                  <Component id="jButtonWrap" alignment="3" min="-2" pref="31" max="-2" attributes="0"/>                  <Component id="jButtonNoWrap" alignment="3" min="-2" pref="29" max="-2" attributes="0"/>              </Group>              <EmptySpace pref="67" max="32767" attributes="0"/>          </Group>      </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="jTextAreaTest">          <Properties>            <Property name="columns" type="int" value="20"/>            <Property name="lineWrap" type="boolean" value="true"/>            <Property name="rows" type="int" value="5"/>            <Property name="wrapStyleWord" type="boolean" value="true"/>          </Properties>        </Component>      </SubComponents>    </Container>    <Component class="javax.swing.JButton" name="jButtonWrap">      <Properties>        <Property name="text" type="java.lang.String" value="&#x6362;&#x884c;"/>      </Properties>      <Events>        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonWrapActionPerformed"/>      </Events>    </Component>    <Component class="javax.swing.JButton" name="jButtonNoWrap">      <Properties>        <Property name="text" type="java.lang.String" value="&#x4e0d;&#x6362;&#x884c;"/>      </Properties>      <Events>        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonNoWrapActionPerformed"/>      </Events>    </Component>  </SubComponents></Form>

⌨️ 快捷键说明

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