资源简介
这是我用eclipse编的,eclipse有一个插件,做界面很方便,自己在网上搜
代码片段和文件信息
import java.awt.event.FocusAdapter;
import javax.swing.*;
/**
* This code was edited or generated using CloudGarden‘s Jigloo
* SWT/Swing GUI Builder which is free for non-commercial
* use. If Jigloo is being used commercially (ie by a corporation
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class Login extends javax.swing.Jframe {
private JLabel lbl_userName;
private JButton btn_ok;
private JButton btn_col;
private JLabel lbl_welcom;
private JPasswordField jpf_password;
private JLabel lbl_password;
private JTextField jtf_userName;
{
//Set Look & Feel
try {
javax.swing.UIManager.setLookAndFeel(“javax.swing.plaf.metal.metalLookAndFeel“);
} catch(Exception e) {
e.printStackTrace();
}
}
/**
* Auto-generated main method to display this Jframe
*/
public static void main(String[] args) {
SwingUtilities.invokeLater(new Runnable() {
public void run() {
Login inst = new Login();
inst.setLocationRelativeTo(null);
inst.setVisible(true);
}
});
}
public Login() {
super();
initGUI();
}
private void initGUI() {
try {
getContentPane().setLayout(null);
setDefaultCloseOperation(Wind
- 上一篇:java秒杀程序(附带数据库-mysql)
- 下一篇:java 异常总结
相关资源
- java 异常总结
- java秒杀程序(附带数据库-mysql)
- 电梯调度JAVA版1
- 使用jsp+servlet+MVC 开发的简易论坛
- Java圆形电子时钟源代码
- java5层电梯控制
- 网上花店Java源代码
- java点菜系统源码
- http客户端java程序
- java基于udp的聊天服务端
- Apriori算法java实现,解释也很详细
- javaweb登录功能实现,eclipse开发工具,
- java 动态获取数据库信息生成word(含
- 操作系统大作业-理发师问题
- 神州另一套笔试题JAVA
- mysql-connector-java-5.1.9.jar
- Spark大数据中文分词统计Java工程源码
- 中国象棋源码JAVA版,很详细
- smali文件编译java文件
- java jar包jbig转bmp
- Java语音聊天
- JAVA netty 获取串口数据并且下发数据
- java课程设计-拿火柴游戏
- 基于web的员工工资管理系统毕业论文
- 用java编写的科学计算器
- Java编程思想第4版源代码+习题答案
- 名片管理系统(jsp+Struts+javabean)
- java版通讯录管理系统
- java求圆周率PI的值 蒙特卡洛方法
- cache模拟器
评论
共有 条评论