📄 secretary.java
字号:
/*
* secretary.java
*
* Created on 2008年10月1日, 下午8:32
*/
package javaapplication1;
/**
*
* @author mis06
*/
public class Secretary extends javax.swing.JFrame {
/** Creates new form secretary */
public Secretary() {
super("教务管理系统");
initComponents();
修改密码 mima=new 修改密码();
修改成绩 xiu=new 修改成绩();
教秘排课 pai=new 教秘排课();
添加修改用户信息 yong=new 添加修改用户信息();
选修课安排 选课=new 选修课安排();
教师信息查询 cha=new 教师信息查询();
jTabbedPane1.addTab("修改密码",mima);
jTabbedPane1.addTab("修改学生成绩",xiu);
jTabbedPane1.addTab("添加或修改用户信息",yong);
jTabbedPane1.addTab("安排必修课",pai);
jTabbedPane1.addTab("确定选课状态并排课",选课);
jTabbedPane1.addTab("个人信息查询与修改",cha);
}
/** 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 Secretary().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 + -