📄 mainframe.form
字号:
<?xml version="1.0" encoding="UTF-8" ?><Form version="1.3" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> <NonVisualComponents> <Container class="javax.swing.JDialog" name="event_generator"> <Properties> <Property name="defaultCloseOperation" type="int" value="2"/> <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> <Dimension value="[300, 400]"/> </Property> <Property name="resizable" type="boolean" value="false"/> </Properties> <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="46" max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Component id="jLabel1" min="-2" max="-2" attributes="0"/> <Component id="jLabel2" min="-2" max="-2" attributes="0"/> <Component id="jLabel3" min="-2" max="-2" attributes="0"/> <Component id="jLabel4" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace min="-2" pref="45" max="-2" attributes="0"/> <Group type="103" groupAlignment="0" max="-2" attributes="0"> <Component id="event_combo" min="0" pref="0" max="32767" attributes="1"/> <Component id="direction_combo" alignment="0" max="32767" attributes="1"/> <Group type="102" alignment="0" attributes="0"> <Group type="103" groupAlignment="0" max="-2" attributes="0"> <Component id="speed_input" max="32767" attributes="1"/> <Component id="distance_input" alignment="0" pref="88" max="32767" attributes="1"/> </Group> <EmptySpace min="-2" pref="12" max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Component id="jLabel5" min="-2" max="-2" attributes="0"/> <Component id="jLabel6" min="-2" max="-2" attributes="0"/> </Group> </Group> </Group> </Group> <Group type="102" alignment="0" attributes="0"> <EmptySpace min="-2" pref="157" max="-2" attributes="0"/> <Component id="generate" min="-2" max="-2" attributes="0"/> </Group> </Group> <EmptySpace pref="200" 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="67" max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Component id="jLabel1" min="-2" max="-2" attributes="0"/> <Component id="event_combo" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace min="-2" pref="29" max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="speed_input" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jLabel5" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace min="-2" pref="33" max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="distance_input" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jLabel6" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace min="-2" pref="32" max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Component id="jLabel4" min="-2" max="-2" attributes="0"/> <Component id="direction_combo" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace pref="36" max="32767" attributes="0"/> <Component id="generate" min="-2" max="-2" attributes="0"/> <EmptySpace min="-2" pref="27" max="-2" attributes="0"/> </Group> </Group> </DimensionLayout> </Layout> <SubComponents> <Component class="javax.swing.JComboBox" name="event_combo"> <Properties> <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor"> <StringArray count="6"> <StringItem index="0" value="NO_EVENT"/> <StringItem index="1" value="ROADWORKS_CONSTRUCTIONS_EVENT"/> <StringItem index="2" value="EMERGENCY_VEHICLE_EVENT"/> <StringItem index="3" value="BROKEN_DOWN_VEHICLE_EVENT"/> <StringItem index="4" value="MOTORCYCLE_EVENT"/> <StringItem index="5" value="ROAD_INTERSECTION_EVENT"/> </StringArray> </Property> </Properties> </Component> <Component class="javax.swing.JComboBox" name="direction_combo"> <Properties> <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor"> <StringArray count="8"> <StringItem index="0" value="N"/> <StringItem index="1" value="S"/> <StringItem index="2" value="E"/> <StringItem index="3" value="W"/> <StringItem index="4" value="NE"/> <StringItem index="5" value="NW"/> <StringItem index="6" value="SE"/> <StringItem index="7" value="SW"/> </StringArray> </Property> </Properties> </Component> <Component class="javax.swing.JLabel" name="jLabel1"> <Properties> <Property name="text" type="java.lang.String" value="Event Type"/> </Properties> </Component> <Component class="javax.swing.JLabel" name="jLabel2"> <Properties> <Property name="text" type="java.lang.String" value="Car Speed"/> </Properties> </Component> <Component class="javax.swing.JLabel" name="jLabel3"> <Properties> <Property name="text" type="java.lang.String" value="Distance"/> </Properties> </Component> <Component class="javax.swing.JLabel" name="jLabel4"> <Properties> <Property name="text" type="java.lang.String" value="Direction"/> </Properties> </Component> <Component class="javax.swing.JTextField" name="speed_input"> </Component> <Component class="javax.swing.JTextField" name="distance_input"> </Component> <Component class="javax.swing.JLabel" name="jLabel5"> <Properties> <Property name="text" type="java.lang.String" value="km/h"/> </Properties> </Component> <Component class="javax.swing.JLabel" name="jLabel6"> <Properties> <Property name="text" type="java.lang.String" value="m"/> </Properties> </Component> <Component class="javax.swing.JButton" name="generate"> <Properties> <Property name="text" type="java.lang.String" value="Generate"/> </Properties> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="generateActionPerformed"/> </Events> </Component> </SubComponents> </Container> </NonVisualComponents> <Properties> <Property name="defaultCloseOperation" type="int" value="3"/> <Property name="title" type="java.lang.String" value="ZDrive v1.0"/> <Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> <Color blue="ff" green="ff" red="ff" type="rgb"/> </Property> <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> <Dimension value="[1024, 600]"/> </Property> <Property name="resizable" type="boolean" value="false"/> </Properties> <SyntheticProperties> <SyntheticProperty name="formSizePolicy" type="int" value="1"/> </SyntheticProperties> <Events> <EventHandler event="keyPressed" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="formKeyPressed"/> </Events> <AuxValues> <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> <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"/> <AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,2,-65,0,0,4,94"/> </AuxValues> <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/> <SubComponents> <Container class="javax.swing.JPanel" name="carpanel"> <Constraints> <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription"> <BorderConstraints direction="East"/> </Constraint> </Constraints> <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/> <SubComponents>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -