?? subframe.form
字號:
<?xml version="1.0" encoding="UTF-8" ?><Form version="1.3" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> <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"> <Component id="jSeparator1" alignment="1" pref="357" max="32767" attributes="0"/> <Group type="102" alignment="1" attributes="0"> <EmptySpace max="-2" attributes="0"/> <Component id="jPanel1" max="32767" attributes="0"/> </Group> </Group> <EmptySpace max="-2" attributes="0"/> </Group> <Group type="102" alignment="0" attributes="0"> <EmptySpace min="-2" pref="31" max="-2" attributes="0"/> <Component id="optionSure" min="-2" max="-2" attributes="0"/> <EmptySpace pref="142" max="32767" attributes="0"/> <Component id="optionCancle" min="-2" max="-2" attributes="0"/> <EmptySpace min="-2" pref="60" 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"/> <Component id="jPanel1" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Component id="jSeparator1" min="-2" max="-2" attributes="0"/> <EmptySpace pref="53" max="32767" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="optionSure" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="optionCancle" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace max="-2" attributes="0"/> </Group> </Group> </DimensionLayout> </Layout> <SubComponents> <Container class="javax.swing.JPanel" name="jPanel1"> <Layout> <DimensionLayout dim="0"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" attributes="0"> <Group type="103" groupAlignment="0" attributes="0"> <Component id="jLabel1" alignment="0" min="-2" max="-2" attributes="0"/> <Component id="jLabel4" alignment="0" min="-2" max="-2" attributes="0"/> <Group type="102" alignment="0" attributes="0"> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="1" max="-2" attributes="0"> <Group type="102" alignment="0" attributes="1"> <Component id="jLabel5" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Component id="player2Name" max="32767" attributes="0"/> </Group> <Group type="102" alignment="0" attributes="0"> <Component id="jLabel2" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Component id="player1Name" min="-2" pref="81" max="-2" attributes="0"/> </Group> </Group> <EmptySpace min="-2" pref="17" max="-2" attributes="0"/> <Group type="103" groupAlignment="1" attributes="0"> <Component id="jLabel3" min="-2" max="-2" attributes="0"/> <Component id="jLabel6" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Component id="player2Color" min="-2" max="-2" attributes="0"/> <Component id="player1Color" alignment="0" min="-2" max="-2" attributes="0"/> </Group> </Group> </Group> <EmptySpace pref="24" max="32767" attributes="0"/> </Group> </Group> </DimensionLayout> <DimensionLayout dim="1"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" alignment="0" attributes="0"> <Component id="jLabel1" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="player1Name" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="player1Color" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace min="-2" pref="17" max="-2" attributes="0"/> <Component id="jLabel4" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="jLabel5" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="player2Name" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jLabel6" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="player2Color" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace max="32767" attributes="0"/> </Group> </Group> </DimensionLayout> </Layout> <SubComponents> <Component class="javax.swing.JLabel" name="jLabel1"> <Properties> <Property name="text" type="java.lang.String" value="Player 1"/> </Properties> </Component> <Component class="javax.swing.JLabel" name="jLabel2"> <Properties> <Property name="text" type="java.lang.String" value="Player Name :"/> </Properties> </Component> <Component class="javax.swing.JTextField" name="player1Name"> <Properties> <Property name="text" type="java.lang.String" value="writePlayer"/> </Properties> </Component> <Component class="javax.swing.JLabel" name="jLabel3"> <Properties> <Property name="text" type="java.lang.String" value="Color :"/> </Properties> </Component> <Component class="javax.swing.JComboBox" name="player1Color"> <Properties> <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor"> <StringArray count="2"> <StringItem index="0" value="Red"/> <StringItem index="1" value="White"/> </StringArray> </Property> </Properties> </Component> <Component class="javax.swing.JLabel" name="jLabel4"> <Properties> <Property name="text" type="java.lang.String" value="Player 2"/> </Properties> </Component> <Component class="javax.swing.JLabel" name="jLabel5"> <Properties> <Property name="text" type="java.lang.String" value="Player Name:"/> </Properties> </Component> <Component class="javax.swing.JTextField" name="player2Name"> <Properties> <Property name="text" type="java.lang.String" value="BlackPlayer"/> </Properties> </Component> <Component class="javax.swing.JLabel" name="jLabel6"> <Properties> <Property name="text" type="java.lang.String" value="Color:"/> </Properties> </Component> <Component class="javax.swing.JComboBox" name="player2Color"> <Properties> <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor"> <StringArray count="2"> <StringItem index="0" value="Black"/> <StringItem index="1" value="Blue"/> </StringArray> </Property> </Properties> </Component> </SubComponents> </Container> <Component class="javax.swing.JSeparator" name="jSeparator1"> </Component> <Component class="javax.swing.JButton" name="optionSure"> <Properties> <Property name="text" type="java.lang.String" value="Sure"/> </Properties> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="optionSureActionPerformed"/> </Events> </Component> <Component class="javax.swing.JButton" name="optionCancle"> <Properties> <Property name="text" type="java.lang.String" value="Cancle"/> </Properties> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="optionCancleActionPerformed"/> </Events> </Component> </SubComponents></Form>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -