📄 login.form
字号:
<?xml version="1.0" encoding="UTF-8" ?><Form version="1.3" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> <Properties> <Property name="defaultCloseOperation" type="int" value="3"/> </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,44,0,0,1,-112"/> <SyntheticProperty name="formSizePolicy" type="int" value="0"/> <SyntheticProperty name="generateSize" type="boolean" value="true"/> <SyntheticProperty name="generateCenter" type="boolean" value="true"/> </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_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="0" attributes="0"> <EmptySpace min="-2" pref="74" max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Component id="password" min="-2" max="-2" attributes="1"/> <Component id="username" min="-2" max="-2" attributes="1"/> </Group> <EmptySpace min="-2" pref="8" max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" alignment="0" attributes="0"> <Component id="login" min="-2" pref="137" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> </Group> <Group type="102" alignment="0" attributes="0"> <Group type="103" groupAlignment="1" attributes="0"> <Component id="passWord" min="0" pref="0" max="32767" attributes="1"/> <Component id="userName" alignment="1" pref="167" max="32767" attributes="1"/> </Group> <EmptySpace pref="79" max="32767" attributes="0"/> </Group> </Group> </Group> <Group type="102" alignment="1" attributes="0"> <EmptySpace pref="328" max="32767" attributes="0"/> <Component id="newuser" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Component id="help" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> </Group> <Group type="102" alignment="0" attributes="0"> <EmptySpace min="-2" pref="121" max="-2" attributes="0"/> <Component id="jLabel1" min="-2" max="-2" attributes="0"/> <EmptySpace pref="131" 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 max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="help" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="newuser" alignment="3" min="-2" pref="15" max="-2" attributes="0"/> </Group> <EmptySpace min="-2" pref="5" max="-2" attributes="0"/> <Component id="jLabel1" min="-2" max="-2" attributes="0"/> <EmptySpace min="-2" pref="28" max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="userName" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="username" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace min="-2" pref="27" max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="password" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="passWord" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace max="-2" attributes="0"/> <Component id="login" min="-2" pref="77" max="-2" attributes="0"/> <EmptySpace pref="34" max="32767" attributes="0"/> </Group> </Group> </DimensionLayout> </Layout> <SubComponents> <Component class="javax.swing.JLabel" name="username"> <Properties> <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> <Font name="黑体" size="16" style="0"/> </Property> <Property name="text" type="java.lang.String" value="用户名:"/> </Properties> <Events> <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="usernameMouseClicked"/> </Events> </Component> <Component class="javax.swing.JLabel" name="password"> <Properties> <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> <Font name="黑体" size="16" style="0"/> </Property> <Property name="text" type="java.lang.String" value="密 码:"/> </Properties> </Component> <Component class="javax.swing.JTextField" name="userName"> </Component> <Component class="javax.swing.JButton" name="login"> <Properties> <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> <Image iconType="3" name="/images/tu1.jpg"/> </Property> </Properties> <Events> <EventHandler event="mouseEntered" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="loginMouseEntered"/> <EventHandler event="mouseExited" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="loginMouseExited"/> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="loginActionPerformed"/> </Events> </Component> <Component class="javax.swing.JPasswordField" name="passWord"> </Component> <Component class="javax.swing.JLabel" name="help"> <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="helpMouseClicked"/> <EventHandler event="mouseEntered" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="helpMouseEntered"/> <EventHandler event="mouseExited" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="helpMouseExited"/> </Events> </Component> <Component class="javax.swing.JLabel" name="newuser"> <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="newuserMouseClicked"/> <EventHandler event="mouseEntered" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="newuserMouseEntered"/> <EventHandler event="mouseExited" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="newuserMouseExited"/> </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="黑体" size="20" style="0"/> </Property> <Property name="text" type="java.lang.String" value="用 户 登 录"/> </Properties> </Component> </SubComponents></Form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -