📄 gui.form
字号:
<?xml version="1.0" encoding="UTF-8" ?><Form version="1.3" maxVersion="1.6" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> <NonVisualComponents> <Menu class="javax.swing.JMenuBar" name="jMenuBar1"> <SubComponents> <Menu class="javax.swing.JMenu" name="jMenu1"> <Properties> <Property name="text" type="java.lang.String" value="文件"/> </Properties> <SubComponents> <MenuItem class="javax.swing.JMenuItem" name="open"> <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="openActionPerformed"/> </Events> </MenuItem> </SubComponents> </Menu> <Menu class="javax.swing.JMenu" name="jMenu2"> <Properties> <Property name="text" type="java.lang.String" value="操作"/> </Properties> </Menu> </SubComponents> </Menu> </NonVisualComponents> <Properties> <Property name="defaultCloseOperation" type="int" value="3"/> <Property name="resizable" type="boolean" value="false"/> </Properties> <SyntheticProperties> <SyntheticProperty name="menuBar" type="java.lang.String" value="jMenuBar1"/> <SyntheticProperty name="formSizePolicy" type="int" value="1"/> </SyntheticProperties> <Events> <EventHandler event="windowClosing" listener="java.awt.event.WindowListener" parameters="java.awt.event.WindowEvent" handler="formWindowClosing"/> </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_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"/> </AuxValues> <Layout> <DimensionLayout dim="0"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" alignment="1" attributes="0"> <Group type="103" groupAlignment="1" attributes="0"> <Group type="102" alignment="0" attributes="0"> <EmptySpace min="-2" pref="440" max="-2" attributes="0"/> <Component id="jScrollPane3" pref="342" max="32767" attributes="0"/> </Group> <Group type="102" alignment="1" attributes="0"> <EmptySpace max="-2" attributes="0"/> <Component id="jScrollPane1" pref="675" max="32767" attributes="1"/> <EmptySpace type="separate" max="-2" attributes="0"/> <Component id="start" min="-2" pref="79" max="-2" attributes="0"/> </Group> <Group type="102" alignment="1" attributes="0"> <EmptySpace min="-2" pref="169" max="-2" attributes="0"/> <Component id="jLabel2" min="-2" pref="102" max="-2" attributes="0"/> <EmptySpace pref="311" max="32767" attributes="0"/> <Component id="jLabel3" min="-2" max="-2" attributes="0"/> <EmptySpace min="-2" pref="152" max="-2" attributes="0"/> </Group> </Group> <EmptySpace min="-2" pref="17" max="-2" attributes="0"/> </Group> <Group type="102" alignment="0" attributes="0"> <Component id="jScrollPane2" min="-2" pref="408" max="-2" attributes="1"/> <EmptySpace pref="391" max="32767" attributes="0"/> </Group> <Group type="102" alignment="0" attributes="0"> <EmptySpace min="-2" pref="290" max="-2" attributes="0"/> <Component id="jLabel1" min="-2" pref="181" max="-2" attributes="0"/> <EmptySpace pref="328" max="32767" attributes="0"/> </Group> </Group> </DimensionLayout> <DimensionLayout dim="1"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" attributes="0"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" attributes="0"> <EmptySpace max="-2" attributes="0"/> <Component id="jLabel1" min="-2" pref="18" max="-2" attributes="0"/> <EmptySpace min="-2" pref="10" max="-2" attributes="0"/> <Component id="jScrollPane1" min="-2" pref="163" max="-2" attributes="0"/> <EmptySpace type="separate" max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/> </Group> </Group> <Group type="102" alignment="0" attributes="0"> <EmptySpace min="-2" pref="100" max="-2" attributes="0"/> <Component id="start" min="-2" max="-2" attributes="0"/> </Group> </Group> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Component id="jScrollPane2" pref="220" max="32767" attributes="1"/> <Component id="jScrollPane3" alignment="0" pref="220" max="32767" attributes="1"/> </Group> <EmptySpace max="-2" attributes="0"/> </Group> </Group> </DimensionLayout> </Layout> <SubComponents> <Container class="javax.swing.JScrollPane" name="jScrollPane1"> <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> <SubComponents> <Component class="javax.swing.JTextArea" name="command"> <Properties> <Property name="columns" type="int" value="20"/> <Property name="rows" type="int" value="5"/> </Properties> </Component> </SubComponents> </Container> <Container class="javax.swing.JScrollPane" name="jScrollPane2"> <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> <SubComponents> <Component class="javax.swing.JTextArea" name="result"> <Properties> <Property name="columns" type="int" value="20"/> <Property name="rows" type="int" value="5"/> </Properties> </Component> </SubComponents> </Container> <Component class="javax.swing.JLabel" name="jLabel1"> <Properties> <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> <Font name="新宋体" size="12" style="0"/> </Property> <Property name="text" type="java.lang.String" value="请输入命令"/> </Properties> </Component> <Component class="javax.swing.JLabel" name="jLabel2"> <Properties> <Property name="text" type="java.lang.String" value="以下是结果"/> </Properties> </Component> <Component class="javax.swing.JButton" name="start"> <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="startActionPerformed"/> </Events> </Component> <Container class="javax.swing.JScrollPane" name="jScrollPane3"> <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> <SubComponents> <Component class="javax.swing.JTextArea" name="history"> <Properties> <Property name="columns" type="int" value="20"/> <Property name="rows" type="int" value="5"/> </Properties> </Component> </SubComponents> </Container> <Component class="javax.swing.JLabel" name="jLabel3"> <Properties> <Property name="text" type="java.lang.String" value="历史记录"/> </Properties> </Component> </SubComponents></Form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -