📄 student.java
字号:
/*
* Student.java
*
* Created on 2008年10月6日, 下午7:09
*/
package javaapplication1;
/**
*
* @author mis06
*/
public class Student extends javax.swing.JFrame {
/** Creates new form Student */
public Student() {
super("教务管理系统");
修改密码 mima=new 修改密码();
查询课表 biao=new 查询课表();
学生成绩查询 score=new 学生成绩查询();
查询课程情况 ke=new 查询课程情况();
选课 xuanke=new 选课();
学生信息查询 yu=new 学生信息查询();
initComponents();
jTabbedPane1.addTab("修改密码",mima);
jTabbedPane1.addTab("查询课表",biao);
jTabbedPane1.addTab("成绩查询",score);
jTabbedPane1.addTab("查询课程情况",ke);
jTabbedPane1.addTab("选课",xuanke);
jTabbedPane1.addTab("学籍信息查询与修改",yu);
}
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
*/
// <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
private void initComponents() {
jTabbedPane1 = new javax.swing.JTabbedPane();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jTabbedPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 400, Short.MAX_VALUE)
);
layout.setVerticalGroup(
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jTabbedPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 300, Short.MAX_VALUE)
);
pack();
}// </editor-fold>//GEN-END:initComponents
/**
* @param args the command line arguments
*/
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new Student().setVisible(true);
}
});
}
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JTabbedPane jTabbedPane1;
// End of variables declaration//GEN-END:variables
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -