电话系统查询系统程序源代码

  • N0_345859
    了解作者
  • 149.3KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-05-28 06:56
    上传日期
随着信息时代的到来,电子化教育代表了教育改革的一个发展方向,已经成为现代教育的一个特征,并对教育的发展形成新的推动力。远程教育成为现代教育技术未来发展的重要方向之一,学生在线练习系统作为远程教育的一个子系统自然成为一个重要的研究领域。基于Web的在线练习系统因其开放性、分布式的特点和基于Web的巨大计算能力使得它突破了传统学生练习的时间和空间限制。学生多数已厌倦传统的练习模式,在线练习系统不但能够节约大量的时日、人力、物力、财力,而且还能大幅度增加学生练习的客观性、公正性甚至是积极性。
电话系统查询系统程序源代码.zip
  • Phone number
  • bin
  • mysql
  • K_mysql_delete_student.class
    1.3KB
  • K_mysql_delete_name.class
    1.3KB
  • k_mysql_quire1.class
    2.4KB
  • K_mysql_delete_number.class
    1.3KB
  • K_mysql_connect.class
    1.1KB
  • K_mysql_add.class
    1.9KB
  • K_mysql_delete_department.class
    1.3KB
  • K_mysql_modify.class
    1.6KB
  • k_mysql_quire2.class
    2.4KB
  • k_mysql_quire.class
    2.4KB
  • jm
  • K_jiemian_quire$6.class
    760B
  • K_jiemian_delete$3.class
    825B
  • K_jiemian_Modify$1.class
    1KB
  • K_jiemian_Modify.class
    3.7KB
  • K_jiemian_02$4.class
    789B
  • K_jiemian_d_department.class
    3.5KB
  • K_jiemian_quire$5.class
    775B
  • K_jiemian_delete$4.class
    819B
  • K_jiemian_quire$9.class
    751B
  • K_jiemian_02$2.class
    758B
  • K_jiemian_d_student.class
    3.5KB
  • K_jiemian_d_department$1.class
    962B
  • K_jiemian_quire$1.class
    693B
  • K_jiemian_add$2.class
    700B
  • K_jiemian_d_department$2.class
    754B
  • K_jiemian_02.class
    3.4KB
  • K_jiemian_d_name.class
    3.5KB
  • K_jiemian_quire$2.class
    775B
  • K_jiemian_01$2.class
    694B
  • K_jiemian_02$3.class
    755B
  • K_jiemian_delete$1.class
    813B
  • K_jiemian_Modify$3.class
    781B
  • K_jiemian_quire$3.class
    751B
  • K_jiemian_add$1.class
    1.2KB
  • K_jiemian_02$5.class
    694B
  • K_jiemian_02$1.class
    783B
  • K_jiemian_d_name$1.class
    920B
  • K_jiemian_d_student$3.class
    831B
  • K_jiemian_delete$6.class
    718B
  • K_jiemian_d_student$2.class
    736B
  • K_jiemian_quire$7.class
    693B
  • K_jiemian_delete$2.class
    786B
  • K_jiemian_quire.class
    5.1KB
  • K_jiemian_d_number$1.class
    934B
  • K_jiemian_d_student$1.class
    941B
  • K_jiemian_d_number$2.class
    730B
  • K_jiemian_d_name$2.class
    718B
  • K_jiemian_d_department$3.class
    849B
  • K_jiemian_quire$4.class
    693B
  • K_jiemian_01.class
    3.5KB
  • K_jiemian_delete$5.class
    774B
  • K_jiemian_delete.class
    3.7KB
  • K_jiemian_add$3.class
    763B
  • K_jiemian_d_number$3.class
    825B
  • K_jiemian_d_number.class
    3.5KB
  • K_jiemian_quire$8.class
    775B
  • K_jiemian_Modify$2.class
    718B
  • K_jiemian_01$1.class
    1.4KB
  • K_jiemian_add.class
    4.1KB
  • K_jiemian_d_name$3.class
    813B
  • 100.jpg
    64.7KB
  • .settings
  • org.eclipse.jdt.core.prefs
    598B
  • src
  • mysql
  • K_mysql_delete_name.java
    797B
  • K_mysql_connect.java
    746B
  • k_mysql_quire.java
    1.1KB
  • k_mysql_quire2.java
    1.1KB
  • K_mysql_delete_department.java
    809B
  • K_mysql_modify.java
    687B
  • K_mysql_delete_student.java
    798B
  • k_mysql_quire1.java
    1.1KB
  • K_mysql_delete_number.java
    806B
  • K_mysql_add.java
    1KB
  • jm
  • K_jiemian_Modify.java
    4.2KB
  • K_jiemian_delete.java
    5KB
  • K_jiemian_d_number.java
    3.8KB
  • K_jiemian_d_student.java
    3.8KB
  • K_jiemian_add.java
    5KB
  • K_jiemian_quire.java
    6.8KB
  • K_jiemian_01.java
    4.1KB
  • K_jiemian_02.java
    4.5KB
  • K_jiemian_d_name.java
    3.9KB
  • K_jiemian_d_department.java
    3.9KB
  • .project
    388B
  • .classpath
    483B
内容介绍
package jm; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.*; import mysql.*; public class K_jiemian_quire extends JFrame { public static JTextField jtAddName = new JTextField(); public static JTextArea jta1 = new JTextArea(); public static JTextField jtDeleteName = new JTextField(); public static JTextArea jta2 = new JTextArea(); public static JTextField jtDeleteName1 = new JTextField(); public static JTextArea jta3 = new JTextArea(); public K_jiemian_quire() { setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); JLabel backLabel; JPanel jp, jpAdd, jpDelete, jpQuery; JLabel jlTitle; JTabbedPane tabbedPane; // 设置窗口的属性 setTitle("电话号码查询系统"); // 第一个进入窗口的标题 setSize(600, 750); // 设置大小 setLocationRelativeTo(null); // 让窗体居中显示 setResizable(true); // 设置大小不可改变 // 获取图片对象 ImageIcon backIconFirst = new ImageIcon("100.jpg"); // 创建背景标签 backLabel = new JLabel(backIconFirst); backLabel.setBounds(0, 0, backIconFirst.getIconWidth(), backIconFirst.getIconHeight()); // 背景的布局格式 backLabel.setLayout(new GridLayout(1, 1)); // 设置一块面板 jp = new JPanel(null); // 设置类似菜单栏的组件 tabbedPane = new JTabbedPane(); tabbedPane.setFont(new Font("华文细黑", Font.BOLD, 18)); tabbedPane.setBounds(0, 90, 600, 900); // 调试标题 jlTitle = new JLabel("您需要查询的方式:"); jlTitle.setBounds(80, 20, 300, 70); jlTitle.setFont(new Font("黑体", Font.BOLD, 30)); jp.add(jlTitle); // 按姓名查询 jpAdd = new JPanel(null); tabbedPane.addTab("按姓名查询", null, jpAdd, null); JLabel jlAddName = new JLabel("您需要查询的名字:"); jlAddName.setBounds(90, 50, 300, 30); jlAddName.setFont(new Font("微软雅黑", Font.BOLD, 25)); JButton jlchaxun = new JButton("查询"); jlchaxun.setBounds(270, 450, 80, 45); jlchaxun.setFont(new Font("微软雅黑", Font.BOLD, 19)); // 退出按钮 JButton jbCancel = new JButton("退出"); jbCancel.setBounds(70, 490, 80, 45); jbCancel.setFont(new Font("微软雅黑", Font.BOLD, 19)); // 返回按钮 JButton jbreturn = new JButton("返回"); jbreturn.setBounds(470, 490, 80, 45); jbreturn.setFont(new Font("微软雅黑", Font.BOLD, 19)); jtAddName.setBounds(350, 50, 150, 40); jtAddName.setFont(new Font("宋体", Font.PLAIN, 20)); jbCancel.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { System.exit(0); } }); jbreturn.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { dispose(); K_jiemian_02 f1 = new K_jiemian_02(); f1.firstJFrame(); } }); jlchaxun.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { k_mysql_quire m = new k_mysql_quire(); m.select_name(); } }); JScrollPane jsp1 = new JScrollPane(jta1); jsp1.setBounds(30, 100, 520, 300); jsp1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS); jpAdd.add(jsp1); jpAdd.add(jlAddName); jpAdd.add(jlchaxun); jpAdd.add(jbCancel); jpAdd.add(jbreturn); jpAdd.add(jtAddName); // 按电话号查询 jpDelete = new JPanel(null); tabbedPane.addTab("按电话号查询", null, jpDelete, null); JLabel jlDeleteName = new JLabel("您需要查询的电话号码:"); jlDeleteName.setBounds(110, 40, 400, 30); jlDeleteName.setFont(new Font("新宋体", Font.BOLD, 30)); jtDeleteName.setBounds(170, 80, 220, 40); jtDeleteName.setFont(new Font("宋体", Font.PLAIN, 20)); JButton jbDelete = new JButton("查询"); jbDelete.setBounds(240, 450, 80, 45); jbDelete.setFont(new Font("微软雅黑", Font.BOLD, 19)); JButton jbCancel1 = new JButton("退出"); jbCancel1.setBounds(70, 490, 80, 45); jbCancel1.setFont(new Font("微软雅黑", Font.BOLD, 19)); JButton jbreturn1 = new JButton("返回"); jbreturn1.setBounds(470, 490, 80, 45); jbreturn1.setFont(new Font("微软雅黑", Font.BOLD, 19)); jta2.setBounds(30, 130, 520, 300); jbCancel1.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { System.exit(0); } }); jbreturn1.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { dispose(); K_jiemian_02 f1 = new K_jiemian_02(); f1.firstJFrame(); } }); jbDelete.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { k_mysql_quire1 n = new k_mysql_quire1(); n.select_phonenumber(); } }); jpDelete.add(jta2); jpDelete.add(jlDeleteName); jpDelete.add(jtDeleteName); jpDelete.add(jbDelete); jpDelete.add(jbCancel1); jpDelete.add(jbreturn1); // 按学号查询 jpQuery = new JPanel(null); tabbedPane.addTab("按学号查询", null, jpQuery, null); JLabel jlDeleteName1 = new JLabel("您需要查询的学号:"); jlDeleteName1.setBounds(110, 40, 400, 30); jlDeleteName1.setFont(new Font("新宋体", Font.BOLD, 30)); jtDeleteName1.setBounds(170, 80, 220, 40); jtDeleteName1.setFont(new Font("宋体", Font.PLAIN, 20)); JButton jbDelete1 = new JButton("查询"); jbDelete1.setBounds(240, 450, 80, 45); jbDelete1.setFont(new Font("微软雅黑", Font.BOLD, 19)); JButton jbCancel2 = new JButton("退出"); jbCancel2.setBounds(70, 490, 80, 45); jbCancel2.setFont(new Font("微软雅黑", Font.BOLD, 19)); JButton jbreturn2 = new JButton("返回"); jbreturn2.setBounds(470, 490, 80, 45); jbreturn2.setFont(new Font("微软雅黑", Font.BOLD, 19)); jta3.setBounds(30, 130, 520, 300); jbCancel2.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { System.exit(0); } }); jbreturn2.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { dispose(); K_jiemian_02 f1 = new K_jiemian_02(); f1.firstJFrame(); } }); jbDelete1.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { k_mysql_quire2 m = new k_mysql_quire2(); m.select_id(); } }); jpQuery.add(jta3); jpQuery.add(jlDeleteName1); jpQuery.add(jtDeleteName1); jpQuery.add(jbDelete1); jpQuery.add(jbCancel2); jpQuery.add(jbreturn2); jp.setOpaque(false); jpAdd.setOpaque(false); jpDelete.setOpaque(false); jpQuery.setOpaque(false); add(backLabel); backLabel.add(jp); jp.add(tabbedPane); setVisible(true); } public static void main(String[] args) { try { UIManager.setLookAndFeel("com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel"); } catch (Throwable e) { e.printStackTrace(); } new K_jiemian_quire(); } }
评论
    相关推荐