📄 demojsplitpaneframe.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="JSplitPane应用示例"/> </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"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" alignment="0" attributes="0"> <EmptySpace min="-2" pref="187" max="-2" attributes="0"/> <Component id="jButtonReset" min="-2" max="-2" attributes="0"/> </Group> <Group type="102" alignment="0" attributes="0"> <EmptySpace min="-2" pref="31" max="-2" attributes="0"/> <Component id="jPanelGlobal" min="-2" max="-2" attributes="0"/> </Group> </Group> <EmptySpace pref="30" 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="21" max="-2" attributes="0"/> <Component id="jPanelGlobal" min="-2" max="-2" attributes="0"/> <EmptySpace min="-2" pref="23" max="-2" attributes="0"/> <Component id="jButtonReset" min="-2" max="-2" attributes="0"/> <EmptySpace pref="164" max="32767" attributes="0"/> </Group> </Group> </DimensionLayout> </Layout> <SubComponents> <Container class="javax.swing.JPanel" name="jPanelGlobal"> <Layout> <DimensionLayout dim="0"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" alignment="0" attributes="0"> <Component id="jSplitPaneGlobal" pref="456" max="32767" attributes="0"/> <EmptySpace max="-2" attributes="0"/> </Group> </Group> </DimensionLayout> <DimensionLayout dim="1"> <Group type="103" groupAlignment="0" attributes="0"> <Component id="jSplitPaneGlobal" alignment="1" pref="79" max="32767" attributes="0"/> </Group> </DimensionLayout> </Layout> <SubComponents> <Container class="javax.swing.JSplitPane" name="jSplitPaneGlobal"> <Properties> <Property name="dividerLocation" type="int" value="200"/> <Property name="dividerSize" type="int" value="3"/> </Properties> <Layout class="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout"/> <SubComponents> <Component class="javax.swing.JLabel" name="jLabelLeft"> <Properties> <Property name="horizontalAlignment" type="int" value="0"/> <Property name="text" type="java.lang.String" value="这是jSplitPaneGlobal的左部"/> </Properties> <Constraints> <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout$JSplitPaneConstraintsDescription"> <JSplitPaneConstraints position="left"/> </Constraint> </Constraints> </Component> <Component class="javax.swing.JLabel" name="jLabelRight"> <Properties> <Property name="horizontalAlignment" type="int" value="0"/> <Property name="text" type="java.lang.String" value="这是jSplitPaneGlobal的右部"/> </Properties> <Constraints> <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout$JSplitPaneConstraintsDescription"> <JSplitPaneConstraints position="right"/> </Constraint> </Constraints> </Component> </SubComponents> </Container> </SubComponents> </Container> <Component class="javax.swing.JButton" name="jButtonReset"> <Properties> <Property name="text" type="java.lang.String" value="还原"/> </Properties> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonResetActionPerformed"/> </Events> </Component> </SubComponents></Form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -