⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 loginform.java

📁 很好的UI界面源码..还有自己的输入法,可以更换风格.可以学习和使用
💻 JAVA
字号:
package Demo;/* * To change this template, choose Tools | Templates * and open the template in the editor. */import cn.sda.event.MainMenuOnButtonEvent;import cn.sda.ui.SDABaseControl;import cn.sda.ui.SDABevel;import cn.sda.ui.SDAButton;import cn.sda.ui.SDAConsts;import cn.sda.ui.SDAEdit;import cn.sda.ui.SDAForm;import cn.sda.ui.SDAInputPanel;import cn.sda.ui.SDALabel;import cn.sda.ui.SDAMainMenu;import cn.sda.ui.SDAPopMenu;/** * * @author Administrator */public class LoginForm extends SDAForm {    private SDABevel panel=new SDABevel();    private SDALabel userNameLabel = new SDALabel();    private SDALabel userPassLabel = new SDALabel();    private SDAEdit userNameEdit = new SDAEdit();    private SDAEdit userPassEdit = new SDAEdit();    private SDAMainMenu mainMenu=new SDAMainMenu();    private SDAButton OkBtn=new SDAButton();    private SDAButton ExitBtn=new SDAButton();    public LoginForm(String caption) {        super(caption);        panel.setDock(SDAConsts.dsFill);        panel.setBackColor(SDAConsts.clWhite);        panel.setCtl3d(false);        panel.setShape(SDABevel.bsSpacer);        AddControl(panel);                userNameLabel.setAutoSize(true);        userPassLabel.setAutoSize(true);        userNameLabel.setBackColor(SDAConsts.clWhite);        userPassLabel.setBackColor(SDAConsts.clWhite);        userNameEdit.setWidth(140);        userPassEdit.setWidth(140);        userPassEdit.setPasswordChar('*');        userNameLabel.setText("鐢ㄦ埛鍚嶇О");        userPassLabel.setText("鐢ㄦ埛瀵嗙爜");                userNameEdit.setImeType(SDAInputPanel.imLowerCase);        userPassEdit.setImeType(SDAInputPanel.imDigit);        //涓昏彍鍗

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -