📄 assistant.java
字号:
/*
* Assistant.java
*
* Created on 2007年11月17日, 下午5:52
*/
package javaapplication1;
/**
*
* @author mis05
*/
public class Assistant extends javax.swing.JFrame {
/** Creates new form Assistant */
public Assistant() {
Assexit exit=new Assexit();
Asspassword password=new Asspassword();
Assinformation information=new Assinformation();
Asstostudent student=new Asstostudent();
Asstoteacher teacher=new Asstoteacher();
Asstocourse course=new Asstocourse();
Asstoprofesion profesion=new Asstoprofesion();
Asssearch search=new Asssearch();
initComponents();
jTabbedPane1.addTab("退出系统",exit);
jTabbedPane1.add("修改密码",password);
jTabbedPane1.addTab("教务管理员信息",information);
jTabbedPane1.add("学生信息",student);
jTabbedPane1.addTab("教师信息",teacher);
jTabbedPane1.addTab("课程信息",course);
jTabbedPane1.addTab("专业信息",profesion);
jTabbedPane1.add("查询课程所有成绩",search);
}
/** 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(org.jdesktop.layout.GroupLayout.TRAILING, jTabbedPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 400, Short.MAX_VALUE)
);
layout.setVerticalGroup(
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(org.jdesktop.layout.GroupLayout.TRAILING, 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 Assistant().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 + -