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

📄 listdialog.form

📁 SWING的界面UI包 SWING的界面UI包
💻 FORM
字号:
<?xml version="1.0" encoding="UTF-8" ?><Form version="1.3" type="org.netbeans.modules.form.forminfo.JDialogFormInfo">  <Properties>    <Property name="defaultCloseOperation" type="int" value="2"/>    <Property name="title" type="java.lang.String" value="Combo Items Edit"/>    <Property name="modal" type="boolean" value="true"/>  </Properties>  <SyntheticProperties>    <SyntheticProperty name="formSizePolicy" type="int" value="1"/>  </SyntheticProperties>  <AuxValues>    <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>    <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>    <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="jPanel1" alignment="0" max="32767" attributes="1"/>                  <Group type="102" alignment="1" attributes="0">                      <Component id="btnOK" linkSize="2" min="-2" max="-2" attributes="0"/>                      <EmptySpace max="-2" attributes="0"/>                      <Component id="btnRestore" linkSize="2" min="-2" max="-2" attributes="0"/>                      <EmptySpace max="-2" attributes="0"/>                      <Component id="btnCancel" linkSize="2" min="-2" max="-2" attributes="0"/>                  </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="jPanel1" max="32767" attributes="0"/>              <EmptySpace max="-2" attributes="0"/>              <Group type="103" groupAlignment="3" attributes="0">                  <Component id="btnCancel" alignment="3" min="-2" max="-2" attributes="0"/>                  <Component id="btnRestore" alignment="3" min="-2" max="-2" attributes="0"/>                  <Component id="btnOK" alignment="3" min="-2" max="-2" attributes="0"/>              </Group>              <EmptySpace max="-2" attributes="0"/>          </Group>      </Group>    </DimensionLayout>  </Layout>  <SubComponents>    <Component class="javax.swing.JButton" name="btnOK">      <Properties>        <Property name="text" type="java.lang.String" value="OK"/>      </Properties>      <Events>        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnOKActionPerformed"/>      </Events>    </Component>    <Component class="javax.swing.JButton" name="btnRestore">      <Properties>        <Property name="text" type="java.lang.String" value="Restore Default"/>      </Properties>      <Events>        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnRestoreActionPerformed"/>      </Events>    </Component>    <Component class="javax.swing.JButton" name="btnCancel">      <Properties>        <Property name="text" type="java.lang.String" value="Cancel"/>      </Properties>      <Events>        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnCancelActionPerformed"/>      </Events>    </Component>    <Container class="javax.swing.JPanel" name="jPanel1">      <Properties>        <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">          <Border info="org.netbeans.modules.form.compat2.border.EtchedBorderInfo">            <EtchetBorder/>          </Border>        </Property>      </Properties>      <Layout>        <DimensionLayout dim="0">          <Group type="103" groupAlignment="0" attributes="0">              <Group type="102" attributes="0">                  <EmptySpace max="-2" attributes="0"/>                  <Group type="103" groupAlignment="0" attributes="0">                      <Group type="102" attributes="0">                          <Component id="jLabel1" min="-2" max="-2" attributes="0"/>                          <EmptySpace max="-2" attributes="0"/>                          <Component id="txtItem" pref="257" max="32767" attributes="1"/>                      </Group>                      <Component id="jScrollPane1" alignment="1" pref="289" max="32767" attributes="1"/>                  </Group>                  <EmptySpace max="-2" attributes="0"/>                  <Group type="103" groupAlignment="1" attributes="0">                      <Component id="jSeparator1" pref="79" max="32767" attributes="1"/>                      <Component id="btnAdd" linkSize="1" alignment="1" pref="79" max="32767" attributes="1"/>                      <Component id="btnUpdate" linkSize="1" alignment="1" pref="79" max="32767" attributes="1"/>                      <Component id="btnRemove" linkSize="1" alignment="1" max="32767" attributes="1"/>                      <Component id="btnUp" linkSize="1" alignment="1" pref="79" max="32767" attributes="1"/>                      <Component id="btnDown" linkSize="1" alignment="1" pref="79" max="32767" attributes="1"/>                  </Group>                  <EmptySpace max="-2" 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"/>                  <Group type="103" groupAlignment="3" attributes="0">                      <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/>                      <Component id="btnAdd" alignment="3" min="-2" max="-2" attributes="0"/>                      <Component id="txtItem" alignment="3" min="-2" max="-2" attributes="0"/>                  </Group>                  <EmptySpace max="-2" attributes="0"/>                  <Group type="103" groupAlignment="0" attributes="0">                      <Group type="102" attributes="0">                          <Component id="btnUpdate" min="-2" max="-2" attributes="0"/>                          <EmptySpace max="-2" attributes="0"/>                          <Component id="btnRemove" min="-2" max="-2" attributes="0"/>                          <EmptySpace max="-2" attributes="0"/>                          <Component id="jSeparator1" min="-2" pref="6" max="-2" attributes="0"/>                          <EmptySpace max="-2" attributes="0"/>                          <Component id="btnUp" min="-2" max="-2" attributes="0"/>                          <EmptySpace max="-2" attributes="0"/>                          <Component id="btnDown" min="-2" max="-2" attributes="0"/>                      </Group>                      <Component id="jScrollPane1" pref="180" max="32767" attributes="1"/>                  </Group>                  <EmptySpace max="-2" attributes="0"/>              </Group>          </Group>        </DimensionLayout>      </Layout>      <SubComponents>        <Component class="javax.swing.JTextField" name="txtItem">          <Events>            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtItemActionPerformed"/>          </Events>        </Component>        <Component class="javax.swing.JButton" name="btnUpdate">          <Properties>            <Property name="text" type="java.lang.String" value="Update"/>            <Property name="enabled" type="boolean" value="false"/>          </Properties>          <Events>            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnUpdateActionPerformed"/>          </Events>        </Component>        <Component class="javax.swing.JButton" name="btnAdd">          <Properties>            <Property name="text" type="java.lang.String" value="Add"/>            <Property name="enabled" type="boolean" value="false"/>          </Properties>          <Events>            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnAddActionPerformed"/>          </Events>        </Component>        <Container class="javax.swing.JScrollPane" name="jScrollPane1">          <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>          <SubComponents>            <Component class="javax.swing.JList" name="lstItems">              <Properties>                <Property name="model" type="javax.swing.ListModel" editor="org.netbeans.modules.form.editors2.ListModelEditor">                  <StringArray count="0"/>                </Property>                <Property name="selectionMode" type="int" value="0"/>              </Properties>              <Events>                <EventHandler event="valueChanged" listener="javax.swing.event.ListSelectionListener" parameters="javax.swing.event.ListSelectionEvent" handler="lstItemsValueChanged"/>              </Events>            </Component>          </SubComponents>        </Container>        <Component class="javax.swing.JLabel" name="jLabel1">          <Properties>            <Property name="text" type="java.lang.String" value="Item:"/>          </Properties>        </Component>        <Component class="javax.swing.JButton" name="btnRemove">          <Properties>            <Property name="text" type="java.lang.String" value="Remove"/>            <Property name="enabled" type="boolean" value="false"/>          </Properties>          <Events>            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnRemoveActionPerformed"/>          </Events>        </Component>        <Component class="javax.swing.JSeparator" name="jSeparator1">        </Component>        <Component class="javax.swing.JButton" name="btnUp">          <Properties>            <Property name="text" type="java.lang.String" value="Up"/>            <Property name="enabled" type="boolean" value="false"/>          </Properties>          <Events>            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnUpActionPerformed"/>          </Events>        </Component>        <Component class="javax.swing.JButton" name="btnDown">          <Properties>            <Property name="text" type="java.lang.String" value="Down"/>            <Property name="enabled" type="boolean" value="false"/>          </Properties>          <Events>            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnDownActionPerformed"/>          </Events>        </Component>      </SubComponents>    </Container>  </SubComponents></Form>

⌨️ 快捷键说明

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