📄 文件加密.form
字号:
<?xml version="1.0" encoding="UTF-8" ?><Form version="1.3" maxVersion="1.6" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> <Properties> <Property name="defaultCloseOperation" type="int" value="3"/> <Property name="title" type="java.lang.String" value="文件加密"/> </Properties> <SyntheticProperties> <SyntheticProperty name="formSize" 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,1,101,0,0,2,89"/> <SyntheticProperty name="formSizePolicy" type="int" value="0"/> <SyntheticProperty name="generateSize" type="boolean" value="true"/> <SyntheticProperty name="generateCenter" type="boolean" value="true"/> </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_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" attributes="0"> <EmptySpace min="-2" pref="46" max="-2" attributes="0"/> <Group type="103" groupAlignment="1" attributes="0"> <Group type="102" 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="jLabel3" alignment="0" min="-2" max="-2" attributes="0"/> <Component id="jLabel2" alignment="0" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="1" attributes="0"> <Component id="mima" pref="309" max="32767" attributes="0"/> <Component id="chongshumima" pref="309" max="32767" attributes="0"/> </Group> </Group> <Group type="102" alignment="1" attributes="0"> <EmptySpace min="-2" pref="76" max="-2" attributes="0"/> <Component id="jiami" min="-2" max="-2" attributes="0"/> <EmptySpace min="-2" pref="41" max="-2" attributes="0"/> <Component id="fanhui" linkSize="1" min="-2" max="-2" attributes="0"/> <EmptySpace pref="65" max="32767" attributes="0"/> <Component id="quxiao" linkSize="1" min="-2" max="-2" attributes="0"/> </Group> </Group> <EmptySpace min="-2" pref="6" max="-2" attributes="0"/> </Group> <Group type="102" attributes="0"> <Component id="lujing" pref="433" max="32767" attributes="0"/> <EmptySpace max="-2" attributes="0"/> </Group> </Group> <Group type="103" groupAlignment="0" attributes="0"> <Group type="103" groupAlignment="0" max="-2" attributes="0"> <Component id="mimacsti" linkSize="3" max="32767" attributes="1"/> <Component id="mimats" linkSize="3" alignment="0" pref="98" max="32767" attributes="1"/> </Group> <Component id="xuanze" alignment="0" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace max="-2" attributes="0"/> </Group> <Group type="102" alignment="1" attributes="0"> <EmptySpace pref="183" max="32767" attributes="0"/> <Group type="103" groupAlignment="1" attributes="0"> <Component id="tishi" alignment="1" min="-2" pref="231" max="-2" attributes="0"/> <Component id="jLabel1" alignment="1" min="-2" pref="183" max="-2" attributes="0"/> </Group> <EmptySpace min="-2" pref="179" max="-2" attributes="0"/> </Group> <Group type="102" alignment="1" attributes="0"> <EmptySpace pref="517" max="32767" attributes="0"/> <Component id="jLabel4" min="-2" max="-2" attributes="0"/> <EmptySpace min="-2" pref="52" 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 min="-2" pref="27" max="-2" attributes="0"/> <Component id="jLabel1" min="-2" pref="42" max="-2" attributes="0"/> <EmptySpace min="-2" pref="9" max="-2" attributes="0"/> <Component id="tishi" min="-2" max="-2" attributes="0"/> <EmptySpace type="separate" max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="mima" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="mimats" linkSize="4" alignment="3" min="-2" pref="19" max="-2" attributes="0"/> </Group> <EmptySpace min="-2" pref="27" max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="chongshumima" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="mimacsti" linkSize="4" alignment="3" min="-2" pref="16" max="-2" attributes="0"/> </Group> <EmptySpace min="-2" pref="27" max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Component id="xuanze" min="-2" max="-2" attributes="0"/> <Component id="lujing" min="-2" pref="19" max="-2" attributes="0"/> </Group> <EmptySpace pref="33" max="32767" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="quxiao" linkSize="2" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="fanhui" linkSize="2" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jiami" linkSize="2" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace max="-2" attributes="0"/> <Component id="jLabel4" min="-2" max="-2" attributes="0"/> <EmptySpace min="-2" pref="14" max="-2" attributes="0"/> </Group> </Group> </DimensionLayout> </Layout> <SubComponents> <Component class="javax.swing.JLabel" name="jLabel1"> <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="文件加密"/> </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="宋体" size="14" style="1"/> </Property> <Property name="text" type="java.lang.String" value="请输入密码:"/> </Properties> </Component> <Component class="javax.swing.JLabel" name="jLabel3"> <Properties> <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> <Font name="宋体" size="14" style="1"/> </Property> <Property name="text" type="java.lang.String" value="请重新输入密码:"/> </Properties> </Component> <Component class="javax.swing.JTextField" name="mima"> <Events> <EventHandler event="keyPressed" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="mimaKeyPressed"/> </Events> </Component> <Component class="javax.swing.JTextField" name="chongshumima"> <Events> <EventHandler event="keyPressed" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="chongshumimaKeyPressed"/> </Events> </Component> <Component class="javax.swing.JLabel" name="tishi"> <Properties> <Property name="text" type="java.lang.String" value="请输入任意长度的大小写字母组合!!!"/> </Properties> </Component> <Component class="javax.swing.JLabel" name="lujing"> <AuxValues> <AuxValue name="JavaCodeGenerator_InitCodePre" type="java.lang.String" value="lujing.setText("请选择路径!");"/> </AuxValues> </Component> <Component class="javax.swing.JButton" name="xuanze"> <Properties> <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> <Font name="宋体" size="12" style="1"/> </Property> <Property name="text" type="java.lang.String" value="选 择"/> </Properties> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="xuanzeActionPerformed"/> </Events> </Component> <Component class="javax.swing.JButton" name="jiami"> <Properties> <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> <Font name="宋体" size="14" style="1"/> </Property> <Property name="text" type="java.lang.String" value="确定加密"/> </Properties> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jiamiActionPerformed"/> </Events> </Component> <Component class="javax.swing.JButton" name="fanhui"> <Properties> <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> <Font name="宋体" size="14" style="1"/> </Property> <Property name="text" type="java.lang.String" value="返 回"/> </Properties> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="fanhuiActionPerformed"/> </Events> </Component> <Component class="javax.swing.JButton" name="quxiao"> <Properties> <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> <Font name="宋体" size="14" style="1"/> </Property> <Property name="text" type="java.lang.String" value="取 消"/> </Properties> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="quxiaoActionPerformed"/> </Events> </Component> <Component class="javax.swing.JLabel" name="mimats"> <Properties> <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> <Color blue="33" green="33" red="ff" type="rgb"/> </Property> </Properties> </Component> <Component class="javax.swing.JLabel" name="mimacsti"> <Properties> <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> <Color blue="33" green="33" red="ff" type="rgb"/> </Property> </Properties> </Component> <Component class="javax.swing.JLabel" name="jLabel4"> <Properties> <Property name="text" type="java.lang.String" value="关于"/> </Properties> <Events> <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="jLabel4MouseClicked"/> </Events> </Component> </SubComponents></Form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -