Skip to content

Commit

Permalink
fileAdd
Browse files Browse the repository at this point in the history
  • Loading branch information
lyzl committed Apr 14, 2015
1 parent 8c5146e commit 4b22063
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/com/bistuSMS/SMSMainWindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,18 @@
* Created by Xu Bo on 2015/4/13.
*/

public class SMSMainWindow extends JFrame {
public class SMSMainWindow extends JFrame{


JButton returnButton = new JButton("注销");
JButton removeButton = new JButton("删除");
JButton addbutton = new JButton("add");

Font font = new Font("Default",Font.PLAIN,20);
Font titleFont = new Font("Default",Font.PLAIN,25);

TitledBorder border1 = new TitledBorder("学生列表");
JTable studentListTable = new JTable();

JLabel titleLabel;

JPanel panel1 = new JPanel();
Expand Down Expand Up @@ -131,6 +135,12 @@ public void actionPerformed(ActionEvent e) {
setVisible(false);
}
});
addbutton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
// new SMSAddStudent();
}
});
add(panel3);

this.setVisible(true);
Expand Down
Empty file.

0 comments on commit 4b22063

Please sign in to comment.