📄 searchframe.form
字号:
<?xml version="1.0" encoding="UTF-8" ?><Form version="1.3" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> <NonVisualComponents> <Menu class="javax.swing.JMenuBar" name="MainMenu"> <SubComponents> <Menu class="javax.swing.JMenu" name="FileMenu"> <Properties> <Property name="text" type="java.lang.String" value="文件"/> </Properties> <SubComponents> <MenuItem class="javax.swing.JMenuItem" name="OpenFileItem"> <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="OpenFileItemActionPerformed"/> </Events> </MenuItem> <MenuItem class="javax.swing.JSeparator" name="jSeparator1"> </MenuItem> <MenuItem class="javax.swing.JMenuItem" name="SaveFileItem"> <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="SaveFileItemActionPerformed"/> </Events> </MenuItem> </SubComponents> </Menu> <Menu class="javax.swing.JMenu" name="SysSetMenu"> <Properties> <Property name="text" type="java.lang.String" value="设置"/> </Properties> <SubComponents> <MenuItem class="javax.swing.JMenuItem" name="CodeSetItem"> <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="CodeSetItemActionPerformed"/> </Events> </MenuItem> </SubComponents> </Menu> </SubComponents> </Menu> </NonVisualComponents> <Properties> <Property name="defaultCloseOperation" type="int" value="3"/> <Property name="title" type="java.lang.String" value="C++源代码扫描程序"/> <Property name="resizable" type="boolean" value="false"/> </Properties> <SyntheticProperties> <SyntheticProperty name="menuBar" type="java.lang.String" value="MainMenu"/> <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"> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" attributes="0"> <Group type="103" groupAlignment="1" attributes="0"> <Component id="jPanel2" alignment="1" max="32767" attributes="0"/> <Component id="jPanel1" alignment="0" max="32767" attributes="0"/> <Group type="102" alignment="0" attributes="0"> <Component id="SearchBT" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Component id="jButton1" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Component id="jButton2" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Component id="ExitBT" min="-2" max="-2" attributes="0"/> </Group> <Component id="jLabel1" alignment="0" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace max="-2" attributes="0"/> </Group> <Group type="102" alignment="1" attributes="0"> <Component id="TitleLabel" min="-2" max="-2" attributes="0"/> <EmptySpace min="-2" pref="126" max="-2" attributes="0"/> </Group> </Group> </Group> </Group> </DimensionLayout> <DimensionLayout dim="1"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" alignment="0" attributes="0"> <EmptySpace min="-2" pref="14" max="-2" attributes="0"/> <Component id="TitleLabel" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="SearchBT" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jButton1" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="ExitBT" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jButton2" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace max="-2" attributes="0"/> <Component id="jPanel1" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Component id="jLabel1" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Component id="jPanel2" max="32767" attributes="0"/> <EmptySpace max="-2" attributes="0"/> </Group> </Group> </DimensionLayout> </Layout> <SubComponents> <Component class="javax.swing.JLabel" name="TitleLabel"> <Properties> <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> <Font name="宋体" size="36" style="1"/> </Property> <Property name="text" type="java.lang.String" value="C++源代码扫描程序"/> </Properties> </Component> <Container class="javax.swing.JPanel" name="jPanel1"> <Layout> <DimensionLayout dim="0"> <Group type="103" groupAlignment="0" attributes="0"> <Component id="InputScroll" alignment="1" pref="566" max="32767" attributes="0"/> </Group> </DimensionLayout> <DimensionLayout dim="1"> <Group type="103" groupAlignment="0" attributes="0"> <Component id="InputScroll" alignment="1" pref="193" max="32767" attributes="0"/> </Group> </DimensionLayout> </Layout> <SubComponents> <Container class="javax.swing.JScrollPane" name="InputScroll"> <Properties> <Property name="horizontalScrollBarPolicy" type="int" value="31"/> </Properties> <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> <SubComponents> <Component class="javax.swing.JTextArea" name="InputArea"> <Properties> <Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> <Color blue="cc" green="ff" red="ff" type="rgb"/> </Property> <Property name="columns" type="int" value="20"/> <Property name="lineWrap" type="boolean" value="true"/> <Property name="rows" type="int" value="5"/> <Property name="toolTipText" type="java.lang.String" value="C++程序编写区"/> </Properties> <Events> <EventHandler event="keyPressed" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="InputAreaKeyPressed"/> </Events> </Component> </SubComponents> </Container> </SubComponents> </Container> <Container class="javax.swing.JPanel" name="jPanel2"> <Properties> <Property name="focusable" type="boolean" value="false"/> </Properties> <Layout> <DimensionLayout dim="0"> <Group type="103" groupAlignment="0" attributes="0"> <Component id="OutputScroll" alignment="0" pref="566" max="32767" attributes="0"/> </Group> </DimensionLayout> <DimensionLayout dim="1"> <Group type="103" groupAlignment="0" attributes="0"> <Component id="OutputScroll" alignment="0" pref="181" max="32767" attributes="0"/> </Group> </DimensionLayout> </Layout> <SubComponents> <Container class="javax.swing.JScrollPane" name="OutputScroll"> <Properties> <Property name="horizontalScrollBarPolicy" type="int" value="31"/> <Property name="focusable" type="boolean" value="false"/> </Properties> <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> <SubComponents> <Component class="javax.swing.JTextArea" name="OutputArea"> <Properties> <Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> <Color blue="ff" green="ff" red="cc" type="rgb"/> </Property> <Property name="columns" type="int" value="20"/> <Property name="editable" type="boolean" value="false"/> <Property name="lineWrap" type="boolean" value="true"/> <Property name="rows" type="int" value="5"/> <Property name="focusable" type="boolean" value="false"/> </Properties> </Component> </SubComponents> </Container> </SubComponents> </Container> <Component class="javax.swing.JButton" name="SearchBT"> <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="SearchBTActionPerformed"/> </Events> </Component> <Component class="javax.swing.JLabel" name="jLabel1"> <Properties> <Property name="text" type="java.lang.String" value="扫描结果如下:"/> </Properties> </Component> <Component class="javax.swing.JButton" name="ExitBT"> <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="ExitBTActionPerformed"/> </Events> </Component> <Component class="javax.swing.JButton" name="jButton1"> <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="jButton1ActionPerformed"/> </Events> </Component> <Component class="javax.swing.JButton" name="jButton2"> <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="jButton2ActionPerformed"/> </Events> </Component> </SubComponents></Form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -