📄 demojcheckradioframe.form
字号:
<?xml version="1.0" encoding="UTF-8" ?><Form version="1.3" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> <NonVisualComponents> <Component class="javax.swing.ButtonGroup" name="buttonGroupOne"> </Component> </NonVisualComponents> <Properties> <Property name="defaultCloseOperation" type="int" value="3"/> <Property name="title" type="java.lang.String" value="JCheckBox与JRadioButton应用示例"/> </Properties> <SyntheticProperties> <SyntheticProperty name="formSizePolicy" type="int" value="1"/> </SyntheticProperties> <AuxValues> <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> <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 max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Component id="jCheckBoxBold" min="-2" max="-2" attributes="0"/> <Component id="jCheckBoxItalic" alignment="0" min="-2" max="-2" attributes="0"/> </Group> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" attributes="0"> <EmptySpace min="-2" pref="39" max="-2" attributes="0"/> <Component id="jRadioButtonSmall" min="-2" max="-2" attributes="0"/> <EmptySpace pref="65" max="32767" attributes="0"/> <Component id="jRadioButtonCommon" min="-2" max="-2" attributes="0"/> <EmptySpace min="-2" pref="59" max="-2" attributes="0"/> <Component id="jRadioButtonBig" min="-2" max="-2" attributes="0"/> <EmptySpace min="-2" pref="63" max="-2" attributes="0"/> </Group> <Group type="102" attributes="0"> <EmptySpace min="-2" pref="15" max="-2" attributes="0"/> <Component id="jLabelMessage" pref="324" max="32767" attributes="0"/> <EmptySpace max="-2" attributes="0"/> </Group> </Group> </Group> </Group> </DimensionLayout> <DimensionLayout dim="1"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" alignment="0" attributes="0"> <EmptySpace min="-2" pref="43" max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" attributes="0"> <Component id="jCheckBoxBold" min="-2" max="-2" attributes="0"/> <EmptySpace min="-2" pref="43" max="-2" attributes="0"/> <Component id="jCheckBoxItalic" min="-2" max="-2" attributes="0"/> </Group> <Component id="jLabelMessage" min="-2" pref="71" max="-2" attributes="1"/> </Group> <EmptySpace min="-2" pref="37" max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="jRadioButtonBig" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jRadioButtonSmall" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jRadioButtonCommon" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace pref="32" max="32767" attributes="0"/> </Group> </Group> </DimensionLayout> </Layout> <SubComponents> <Component class="javax.swing.JCheckBox" name="jCheckBoxBold"> <Properties> <Property name="text" type="java.lang.String" value="黑体"/> <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> <Border info="org.netbeans.modules.form.compat2.border.EmptyBorderInfo"> <EmptyBorder bottom="0" left="0" right="0" top="0"/> </Border> </Property> <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> <Insets value="[0, 0, 0, 0]"/> </Property> </Properties> <Events> <EventHandler event="itemStateChanged" listener="java.awt.event.ItemListener" parameters="java.awt.event.ItemEvent" handler="jCheckBoxBoldItemStateChanged"/> </Events> </Component> <Component class="javax.swing.JCheckBox" name="jCheckBoxItalic"> <Properties> <Property name="text" type="java.lang.String" value="斜体"/> <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> <Border info="org.netbeans.modules.form.compat2.border.EmptyBorderInfo"> <EmptyBorder bottom="0" left="0" right="0" top="0"/> </Border> </Property> <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> <Insets value="[0, 0, 0, 0]"/> </Property> </Properties> <Events> <EventHandler event="itemStateChanged" listener="java.awt.event.ItemListener" parameters="java.awt.event.ItemEvent" handler="jCheckBoxItalicItemStateChanged"/> </Events> </Component> <Component class="javax.swing.JRadioButton" name="jRadioButtonSmall"> <Properties> <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor"> <ComponentRef name="buttonGroupOne"/> </Property> <Property name="text" type="java.lang.String" value="缩小"/> <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> <Border info="org.netbeans.modules.form.compat2.border.EmptyBorderInfo"> <EmptyBorder bottom="0" left="0" right="0" top="0"/> </Border> </Property> <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> <Insets value="[0, 0, 0, 0]"/> </Property> </Properties> <Events> <EventHandler event="itemStateChanged" listener="java.awt.event.ItemListener" parameters="java.awt.event.ItemEvent" handler="jRadioButtonSmallItemStateChanged"/> </Events> </Component> <Component class="javax.swing.JRadioButton" name="jRadioButtonCommon"> <Properties> <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor"> <ComponentRef name="buttonGroupOne"/> </Property> <Property name="selected" type="boolean" value="true"/> <Property name="text" type="java.lang.String" value="普通"/> <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> <Border info="org.netbeans.modules.form.compat2.border.EmptyBorderInfo"> <EmptyBorder bottom="0" left="0" right="0" top="0"/> </Border> </Property> <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> <Insets value="[0, 0, 0, 0]"/> </Property> </Properties> <Events> <EventHandler event="itemStateChanged" listener="java.awt.event.ItemListener" parameters="java.awt.event.ItemEvent" handler="jRadioButtonCommonItemStateChanged"/> </Events> </Component> <Component class="javax.swing.JRadioButton" name="jRadioButtonBig"> <Properties> <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor"> <ComponentRef name="buttonGroupOne"/> </Property> <Property name="text" type="java.lang.String" value="加大"/> <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> <Border info="org.netbeans.modules.form.compat2.border.EmptyBorderInfo"> <EmptyBorder bottom="0" left="0" right="0" top="0"/> </Border> </Property> <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> <Insets value="[0, 0, 0, 0]"/> </Property> </Properties> <Events> <EventHandler event="itemStateChanged" listener="java.awt.event.ItemListener" parameters="java.awt.event.ItemEvent" handler="jRadioButtonBigItemStateChanged"/> </Events> </Component> <Component class="javax.swing.JLabel" name="jLabelMessage"> <Properties> <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> <Font name="宋体" size="18" style="0"/> </Property> <Property name="horizontalAlignment" type="int" value="0"/> <Property name="text" type="java.lang.String" value="JCheckBox与JRadioButton"/> </Properties> </Component> </SubComponents></Form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -