文件名称:个人财务管理系统文档
文件大小:4KB
文件格式:RAR
更新时间:2012-06-17 00:36:54
Personal financial management system
一个简单的系统,有兴趣的可以看看JAVA+SQL SERVER项目开发实践 //登录类: import javax.swing.*; import java.awt.*; import java.awt.event.*; import javawork.jdbc.*; public class Login extends JFrame implements ActionListener{ public static void main(String ary[]){ new Login("home financial management system"); } private JButton login=new JButton("登陆"); private JButton register=new JButton("注册"); private JButton cancel=new JButton("取消"); private JPanel panelsouth=new JPanel(new FlowLayout(new FlowLayout().CENTER)); private JPanel paneluser=new JPanel(new FlowLayout(new FlowLayout().CENTER)); private JPanel panelpassword=new JPanel(new FlowLayout(new FlowLayout().CENTER)); private JPanel panelcenter=new JPanel(new GridLayout(2,1)); private JLabel user=new JLabel("用户名: "); private JLabel title=new JLabel(" 家庭财务管理系统"); private JLabel password=new JLabel("密 码: "); private JTextField userT=new JTextField(10); private JPasswordField passwordT=new JPasswordField(10); public Login(String title){ super(title); this.setResizable(false); this.addWindowListener(new WindowAdapter(){ public void windowClosing(WindowEvent e){System.exit(0);} });阅读全文请下载
【文件预览】:
新建 文本文档.txt