📄 asstoprofesion.java
字号:
/*
* Assaddprofesion.java
*
* Created on 2007年11月17日, 下午7:08
*/
package javaapplication1;
/**
*
* @author mis05
*/
public class Asstoprofesion extends javax.swing.JPanel {
/** Creates new form Assaddprofesion */
public Asstoprofesion() {
initComponents();
}
/** 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() {
jButton1 = new javax.swing.JButton();
jButton2 = new javax.swing.JButton();
jButton3 = new javax.swing.JButton();
jButton1.setText("\u6dfb\u52a0\u4e13\u4e1a");
jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
add(evt);
}
});
jButton2.setText("\u5220\u9664\u4e13\u4e1a");
jButton2.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
delete(evt);
}
});
jButton3.setText("\u4fee\u6539\u4e13\u4e1a");
jButton3.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
update(evt);
}
});
org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
this.setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(layout.createSequentialGroup()
.add(78, 78, 78)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jButton3)
.add(jButton2)
.add(jButton1))
.addContainerGap(241, Short.MAX_VALUE))
);
layout.setVerticalGroup(
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(layout.createSequentialGroup()
.add(63, 63, 63)
.add(jButton1)
.add(27, 27, 27)
.add(jButton2)
.add(30, 30, 30)
.add(jButton3)
.addContainerGap(111, Short.MAX_VALUE))
);
}// </editor-fold>//GEN-END:initComponents
private void update(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_update
new Asstoprofesion3().setVisible(true);// TODO add your handling code here:
}//GEN-LAST:event_update
private void delete(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_delete
new Asstoprofesion2().setVisible(true);// TODO add your handling code here:
}//GEN-LAST:event_delete
private void add(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_add
new Asstoprofesion1().setVisible(true);// TODO add your handling code here:
}//GEN-LAST:event_add
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JButton jButton3;
// End of variables declaration//GEN-END:variables
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -