📄 demojframe.form
字号:
<?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"/> <Property name="title" type="java.lang.String" value="JFrame应用示例"/> <Property name="alwaysOnTop" type="boolean" value="true"/> </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"> <Group type="103" groupAlignment="0" max="-2" attributes="0"> <Group type="102" attributes="0"> <EmptySpace min="-2" pref="111" max="-2" attributes="0"/> <Component id="jLabelMessage" min="-2" pref="171" max="-2" attributes="0"/> </Group> <Group type="102" alignment="0" attributes="1"> <EmptySpace min="-2" pref="21" max="-2" attributes="0"/> <Component id="jScrollPane1" min="-2" pref="69" max="-2" attributes="0"/> <EmptySpace max="32767" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Component id="jCheckBoxOnTop" min="-2" max="-2" attributes="0"/> <Component id="jCheckBoxSize" alignment="0" min="-2" max="-2" attributes="0"/> </Group> </Group> </Group> <EmptySpace pref="118" 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 max="-2" attributes="0"/> <Component id="jLabelMessage" min="-2" pref="34" max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" attributes="0"> <EmptySpace min="-2" pref="25" max="-2" attributes="0"/> <Component id="jScrollPane1" min="-2" pref="195" max="-2" attributes="0"/> </Group> <Group type="102" alignment="0" attributes="0"> <EmptySpace min="-2" pref="52" max="-2" attributes="0"/> <Component id="jCheckBoxSize" min="-2" max="-2" attributes="0"/> <EmptySpace min="-2" pref="54" max="-2" attributes="0"/> <Component id="jCheckBoxOnTop" min="-2" max="-2" attributes="0"/> </Group> </Group> <EmptySpace pref="60" max="32767" attributes="0"/> </Group> </Group> </DimensionLayout> </Layout> <SubComponents> <Component class="javax.swing.JLabel" name="jLabelMessage"> <Properties> <Property name="text" type="java.lang.String" value="这里将显示JFrame的属性"/> </Properties> </Component> <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.JList" name="jListSize"> <Properties> <Property name="model" type="javax.swing.ListModel" editor="org.netbeans.modules.form.editors2.ListModelEditor"> <StringArray count="4"> <StringItem index="0" value="300*200"/> <StringItem index="1" value="400*300"/> <StringItem index="2" value="600*450"/> <StringItem index="3" value="800*600"/> </StringArray> </Property> </Properties> <Events> <EventHandler event="valueChanged" listener="javax.swing.event.ListSelectionListener" parameters="javax.swing.event.ListSelectionEvent" handler="jListSizeValueChanged"/> </Events> </Component> </SubComponents> </Container> <Component class="javax.swing.JCheckBox" name="jCheckBoxSize"> <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="jCheckBoxSizeItemStateChanged"/> </Events> </Component> <Component class="javax.swing.JCheckBox" name="jCheckBoxOnTop"> <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="jCheckBoxOnTopItemStateChanged"/> </Events> </Component> </SubComponents></Form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -