数据库课程设计:火车票管理系统内容摘要:

ar 16 trainsum 列车次数 No Int 100 创建 order 表: create table order( tid Date( 20) not null, id_number varchar (16) not null, trainsum Int( 100) not null,); 五、系统实现 用户登录及访问权限 本系统设计要求用户通过登录框选择访问权限,登录系统。 其中,用户须输入用户名和密码,以进入系统。 系统用户权限登录访问时,车次信息查询、订票信息查询、订票、退票等功能均可用。 系统用户输入正确的用户名和密码,访问系统,得到其相应的权限。 9 系统用户输入错误的用户名或身份证号,系统拒绝其访问。 实现功能的 部分 代码: public class EnterFrame extends JFrame { private String str。 /** * */ private static final long serialVersionUID = 1L。 JTextField field1 = new JTextField(12)。 JPasswordField jpField = new JPasswordField(12)。 JTextField field = new JTextField(9)。 JTextField birthIdField = new JTextField(12)。 JLabel lab2 = null。 private String USER = null。 public static String ID = null。 public static String password = null。 String s[] = new String[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z }。 public EnterFrame() { Border border = ()。 Border border2 = ()。 JPanel pan5 = new JPanel()。 JLabel lab = new JLabel()。 Font font = new Font(, , 30)。 (欢迎登陆火车售票系统 )。 ()。 (font)。 (lab)。 10 JPanel pn1 = new JPanel()。 JLabel label1 = new JLabel(姓 名: )。 (new Font(, , 20))。 (label1)。 (border2)。 (field1)。 JPanel pn6 = new JPanel()。 JLabel label = new JLabel(身份证号: )。 (new Font(, , 20))。 (border2)。 (new Font(, , 20))。 (label)。 (border2)。 (birthIdField)。 JPanel pn2 = new JPanel()。 JLabel label2 = new JLabel(密 码: )。 (new Font(, , 20))。 (39。 *39。 )。 (border2)。 (label2)。 (jpField)。 JPanel pan3 =。
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。