📄 fontchooserdialog.form
字号:
<?xml version="1.0" encoding="UTF-8" ?><Form version="1.3" maxVersion="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="Choose Font"/> <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="1" attributes="0"> <EmptySpace min="-2" max="-2" attributes="0"/> <Group type="103" groupAlignment="1" attributes="0"> <Component id="jPanel2" alignment="0" pref="379" max="32767" attributes="0"/> <Group type="102" alignment="0" attributes="0"> <Group type="103" groupAlignment="0" attributes="0"> <Component id="jScrollPane1" pref="198" max="32767" attributes="1"/> <Group type="103" alignment="0" groupAlignment="1" max="-2" attributes="0"> <Component id="jLabel1" alignment="0" min="-2" max="-2" attributes="0"/> <Component id="txtFamily" alignment="0" pref="198" max="32767" attributes="1"/> </Group> </Group> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Component id="jScrollPane2" pref="99" max="32767" attributes="1"/> <Group type="103" alignment="0" groupAlignment="0" max="-2" attributes="0"> <Component id="jLabel2" min="-2" max="-2" attributes="0"/> <Component id="txtStyle" alignment="0" pref="99" max="32767" attributes="1"/> </Group> </Group> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Component id="jScrollPane3" pref="70" max="32767" attributes="1"/> <Component id="jLabel3" alignment="0" min="-2" max="-2" attributes="0"/> <Component id="txtSize" alignment="0" pref="70" max="32767" attributes="1"/> </Group> </Group> <Group type="102" alignment="1" attributes="0"> <EmptySpace pref="231" max="32767" attributes="1"/> <Component id="btnOK" linkSize="1" min="-2" max="-2" attributes="0"/> <EmptySpace min="-2" max="-2" attributes="0"/> <Component id="btnCancel" linkSize="1" min="-2" pref="71" 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="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="jLabel2" 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"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="txtStyle" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="txtFamily" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="txtSize" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="0" max="-2" attributes="0"> <Component id="jScrollPane2" alignment="0" min="0" pref="0" max="32767" attributes="1"/> <Component id="jScrollPane1" alignment="0" pref="123" max="32767" attributes="1"/> <Component id="jScrollPane3" alignment="0" min="0" pref="0" max="32767" attributes="1"/> </Group> <EmptySpace max="-2" attributes="0"/> <Component id="jPanel2" pref="105" max="32767" attributes="0"/> <EmptySpace type="separate" max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="btnCancel" 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.JLabel" name="jLabel1"> <Properties> <Property name="text" type="java.lang.String" value="Font:"/> </Properties> </Component> <Component class="javax.swing.JLabel" name="jLabel2"> <Properties> <Property name="text" type="java.lang.String" value="Font Style:"/> </Properties> </Component> <Component class="javax.swing.JLabel" name="jLabel3"> <Properties> <Property name="text" type="java.lang.String" value="Size:"/> </Properties> </Component> <Component class="javax.swing.JTextField" name="txtFamily"> <Properties> <Property name="editable" type="boolean" value="false"/> </Properties> </Component> <Component class="javax.swing.JTextField" name="txtStyle"> <Properties> <Property name="editable" type="boolean" value="false"/> </Properties> </Component> <Component class="javax.swing.JTextField" name="txtSize"> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtSizeActionPerformed"/> </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="lstFamily"> <Properties> <Property name="model" type="javax.swing.ListModel" editor="org.netbeans.modules.form.editors2.ListModelEditor"> <StringArray count="5"> <StringItem index="0" value="Item 1"/> <StringItem index="1" value="Item 2"/> <StringItem index="2" value="Item 3"/> <StringItem index="3" value="Item 4"/> <StringItem index="4" value="Item 5"/> </StringArray> </Property> <Property name="selectionMode" type="int" value="0"/> </Properties> <Events> <EventHandler event="valueChanged" listener="javax.swing.event.ListSelectionListener" parameters="javax.swing.event.ListSelectionEvent" handler="lstFamilyValueChanged"/> </Events> </Component> </SubComponents> </Container> <Container class="javax.swing.JScrollPane" name="jScrollPane2"> <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> <SubComponents> <Component class="javax.swing.JList" name="lstStyle"> <Properties> <Property name="model" type="javax.swing.ListModel" editor="org.netbeans.modules.form.editors2.ListModelEditor"> <StringArray count="5"> <StringItem index="0" value="Item 1"/> <StringItem index="1" value="Item 2"/> <StringItem index="2" value="Item 3"/> <StringItem index="3" value="Item 4"/> <StringItem index="4" value="Item 5"/> </StringArray> </Property> <Property name="selectionMode" type="int" value="0"/> </Properties> <Events> <EventHandler event="valueChanged" listener="javax.swing.event.ListSelectionListener" parameters="javax.swing.event.ListSelectionEvent" handler="lstStyleValueChanged"/> </Events> </Component> </SubComponents> </Container> <Container class="javax.swing.JScrollPane" name="jScrollPane3"> <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> <SubComponents> <Component class="javax.swing.JList" name="lstSize"> <Properties> <Property name="model" type="javax.swing.ListModel" editor="org.netbeans.modules.form.editors2.ListModelEditor"> <StringArray count="5"> <StringItem index="0" value="Item 1"/> <StringItem index="1" value="Item 2"/> <StringItem index="2" value="Item 3"/> <StringItem index="3" value="Item 4"/> <StringItem index="4" value="Item 5"/> </StringArray> </Property> <Property name="selectionMode" type="int" value="0"/> </Properties> <Events> <EventHandler event="valueChanged" listener="javax.swing.event.ListSelectionListener" parameters="javax.swing.event.ListSelectionEvent" handler="lstSizeValueChanged"/> </Events> </Component> </SubComponents> </Container> <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> <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> <Container class="javax.swing.JPanel" name="jPanel2"> <Properties> <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo"> <TitledBorder title="Preview"/> </Border> </Property> </Properties> <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/> <SubComponents> <Component class="javax.swing.JLabel" name="lblPreview"> <Properties> <Property name="horizontalAlignment" type="int" value="0"/> <Property name="text" type="java.lang.String" value="jLabel4"/> </Properties> <Constraints> <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription"> <BorderConstraints direction="Center"/> </Constraint> </Constraints> </Component> </SubComponents> </Container> </SubComponents></Form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -