学生成绩管理系统-数据库课程设计(16)

2021-01-20 14:46

l1.setFont(new Font("宋体",Font.BOLD,15)); l1.setForeground(Color.blue); box.add(l1); box.add(Box.createHorizontalStrut(8)); box.add(input); box.add(Box.createHorizontalStrut(8)); box.add(xunzhao); bg = new ImageIcon("chaxun.jpg"); JLabel label = new JLabel(bg); label.setBounds(0, 0, bg.getIconWidth(), bg.getIconHeight()); imagePanel = (JPanel) frame.getContentPane(); imagePanel.setOpaque(false); imagePanel.setLayout(new FlowLayout()); imagePanel.add(box, BorderLayout.NORTH); imagePanel.add(show, BorderLayout.CENTER); frame.getLayeredPane().setLayout(null); frame.getLayeredPane().add(label, new Integer(Integer.MIN_VALUE)); //frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.setSize(bg.getIconWidth(), bg.getIconHeight()); frame.setBounds(730, 230, 520, 350); frame.setResizable(false);//设置窗口大小不可改变 frame.setVisible(true); validate(); } addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { dispose(); } }); public void actionPerformed(ActionEvent ee) { boolean boo = true; s = input.getText(); try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); } catch (ClassNotFoundException eee) { System.out.println("" + eee); } try { con = DriverManager.getConnection("jdbc:odbc:sun", "gxy", "123"); 14


学生成绩管理系统-数据库课程设计(16).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:JY-0404加油站设备管理(定稿)

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: