login.form
来自「图书管理系统」· FORM 代码 · 共 120 行
FORM
120 行
<?xml version="1.0" encoding="UTF-8" ?><Form version="1.3" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> <NonVisualComponents> <Container class="javax.swing.JFrame" name="Main"> <Layout> <DimensionLayout dim="0"> <Group type="103" groupAlignment="0" attributes="0"> <EmptySpace min="0" pref="400" max="32767" attributes="0"/> </Group> </DimensionLayout> <DimensionLayout dim="1"> <Group type="103" groupAlignment="0" attributes="0"> <EmptySpace min="0" pref="300" max="32767" attributes="0"/> </Group> </DimensionLayout> </Layout> </Container> <Menu class="java.awt.MenuBar" name="menu"> </Menu> <Menu class="java.awt.PopupMenu" name="popupMenu1"> <Properties> <Property name="label" type="java.lang.String" value="PopupMenu"/> </Properties> </Menu> </NonVisualComponents> <Properties> <Property name="defaultCloseOperation" type="int" value="3"/> </Properties> <SyntheticProperties> <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 min="-2" pref="75" max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Component id="jLabel1" min="-2" pref="56" max="-2" attributes="0"/> <Component id="jLabel2" min="-2" max="-2" attributes="0"/> <Component id="Login" alignment="0" min="-2" max="-2" attributes="0"/> </Group> <Group type="103" groupAlignment="0" attributes="0"> <Component id="password" pref="95" max="32767" attributes="1"/> <Component id="user" pref="95" max="32767" attributes="1"/> <Group type="102" alignment="0" attributes="0"> <EmptySpace min="-2" pref="38" max="-2" attributes="0"/> <Component id="Exit" min="-2" max="-2" attributes="0"/> </Group> </Group> <EmptySpace pref="73" 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 min="-2" pref="39" max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="user" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace min="-2" pref="21" max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="password" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace min="-2" pref="30" max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="Login" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="Exit" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace pref="20" max="32767" attributes="0"/> </Group> </Group> </DimensionLayout> </Layout> <SubComponents> <Component class="javax.swing.JLabel" name="jLabel1"> <Properties> <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.JTextField" name="user"> </Component> <Component class="javax.swing.JButton" name="Login"> <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="LoginActionPerformed"/> </Events> </Component> <Component class="javax.swing.JButton" name="Exit"> <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="ExitActionPerformed"/> </Events> </Component> <Component class="javax.swing.JPasswordField" name="password"> </Component> </SubComponents></Form>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?