📄 fileprocessor.form
字号:
<?xml version="1.0" encoding="UTF-8" ?><Form version="1.3" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> <NonVisualComponents> <Component class="javax.swing.JFileChooser" name="jFileChooser1"> </Component> </NonVisualComponents> <Properties> <Property name="defaultCloseOperation" type="int" value="3"/> <Property name="title" type="java.lang.String" value="File Processor"/> </Properties> <SyntheticProperties> <SyntheticProperty name="formSizePolicy" type="int" value="1"/> </SyntheticProperties> <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="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" alignment="1" attributes="0"> <Component id="filename" pref="489" max="32767" attributes="2"/> <EmptySpace min="-2" max="-2" attributes="0"/> </Group> <Group type="102" alignment="1" attributes="0"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" alignment="0" attributes="0"> <Group type="103" groupAlignment="0" attributes="0"> <Component id="select" alignment="0" min="-2" max="-2" attributes="0"/> <Component id="jLabel1" alignment="0" pref="239" max="32767" attributes="1"/> <Component id="search" alignment="0" min="-2" pref="96" max="-2" attributes="1"/> <Component id="text" alignment="0" min="-2" pref="239" max="-2" attributes="3"/> </Group> <EmptySpace max="-2" attributes="0"/> </Group> <Group type="102" alignment="0" attributes="0"> <Component id="jLabel2" min="-2" max="-2" attributes="0"/> <EmptySpace min="-2" pref="111" max="-2" attributes="0"/> </Group> </Group> <Group type="103" groupAlignment="0" attributes="0"> <Component id="jLabel3" alignment="0" min="-2" max="-2" attributes="0"/> <Component id="replace" alignment="0" min="-2" pref="96" max="-2" attributes="1"/> <Component id="replacetext" alignment="0" min="-2" pref="240" max="-2" attributes="2"/> </Group> <EmptySpace max="32767" attributes="0"/> </Group> <Group type="102" alignment="0" attributes="0"> <Component id="jLabel4" min="-2" max="-2" attributes="0"/> <EmptySpace pref="451" max="32767" attributes="0"/> </Group> <Group type="102" alignment="0" attributes="0"> <Component id="jLabel6" min="-2" max="-2" attributes="0"/> <EmptySpace pref="463" max="32767" attributes="0"/> </Group> <Group type="102" alignment="0" attributes="0"> <Component id="output" pref="489" max="32767" attributes="2"/> <EmptySpace max="-2" attributes="0"/> </Group> <Group type="102" alignment="1" attributes="0"> <Group type="103" groupAlignment="1" attributes="0"> <Component id="jScrollPane2" alignment="0" pref="489" max="32767" attributes="2"/> <Component id="jScrollPane1" alignment="1" pref="489" max="32767" attributes="2"/> </Group> <EmptySpace max="-2" attributes="0"/> </Group> <Group type="102" alignment="0" attributes="0"> <Component id="jLabel5" min="-2" max="-2" attributes="0"/> <EmptySpace pref="451" max="32767" attributes="0"/> </Group> </Group> </Group> </Group> </DimensionLayout> <DimensionLayout dim="1"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" attributes="0"> <EmptySpace max="-2" attributes="0"/> <Component id="select" min="-2" max="-2" attributes="0"/> <EmptySpace type="unrelated" max="-2" attributes="0"/> <Component id="jLabel1" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Component id="filename" min="-2" pref="25" 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="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace min="-2" pref="10" max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Component id="text" min="-2" pref="25" max="-2" attributes="0"/> <Component id="replacetext" min="-2" pref="25" max="-2" attributes="0"/> </Group> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="search" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="replace" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace type="unrelated" max="-2" attributes="0"/> <Component id="jLabel6" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Component id="output" min="-2" pref="25" max="-2" attributes="0"/> <EmptySpace min="-2" pref="18" max="-2" attributes="0"/> <Component id="jLabel5" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Component id="jScrollPane1" pref="157" max="32767" attributes="1"/> <EmptySpace max="-2" attributes="0"/> <Component id="jLabel4" min="-2" max="-2" attributes="0"/> <EmptySpace type="unrelated" max="-2" attributes="0"/> <Component id="jScrollPane2" min="-2" pref="185" max="-2" attributes="1"/> <EmptySpace max="-2" attributes="0"/> </Group> </Group> </DimensionLayout> </Layout> <SubComponents> <Component class="javax.swing.JButton" name="select"> <Properties> <Property name="text" type="java.lang.String" value="Select File"/> </Properties> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="selectActionPerformed"/> </Events> </Component> <Component class="javax.swing.JButton" name="search"> <Properties> <Property name="text" type="java.lang.String" value="Search"/> </Properties> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="searchActionPerformed"/> </Events> </Component> <Component class="javax.swing.JLabel" name="jLabel1"> <Properties> <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> <Font name="Comic Sans MS" size="12" style="1"/> </Property> <Property name="text" type="java.lang.String" value="Currently select a file"/> </Properties> </Component> <Component class="javax.swing.JLabel" name="jLabel2"> <Properties> <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> <Font name="Comic Sans MS" size="12" style="1"/> </Property> <Property name="text" type="java.lang.String" value="Write text to search"/> </Properties> </Component> <Component class="java.awt.TextArea" name="filename"> </Component> <Component class="java.awt.TextArea" name="text"> </Component> <Component class="java.awt.TextArea" name="output"> </Component> <Component class="javax.swing.JLabel" name="jLabel3"> <Properties> <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> <Font name="Comic Sans MS" size="12" style="1"/> </Property> <Property name="text" type="java.lang.String" value="Write text to replace"/> </Properties> </Component> <Component class="java.awt.TextArea" name="replacetext"> </Component> <Component class="javax.swing.JButton" name="replace"> <Properties> <Property name="text" type="java.lang.String" value="Replace"/> </Properties> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="replaceActionPerformed"/> </Events> </Component> <Container class="javax.swing.JScrollPane" name="jScrollPane1"> <AuxValues> <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/> </AuxValues> <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> <SubComponents> <Component class="javax.swing.JTextArea" name="textoutput"> <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"> <AuxValues> <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/> </AuxValues> <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> <SubComponents> <Component class="javax.swing.JTextArea" name="replaceoutput"> <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="jLabel4"> <Properties> <Property name="text" type="java.lang.String" value="Replaced"/> </Properties> </Component> <Component class="javax.swing.JLabel" name="jLabel5"> <Properties> <Property name="text" type="java.lang.String" value="Original"/> </Properties> </Component> <Component class="javax.swing.JLabel" name="jLabel6"> <Properties> <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> <Font name="Comic Sans MS" size="12" style="1"/> </Property> <Property name="text" type="java.lang.String" value="Result"/> </Properties> </Component> </SubComponents></Form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -