/**
* @author :陶伟基 ,微博:http://weibo.com/taoandtao
* @date :2012/12/10
* @place:广州大学华软软件学院
*/
importjavax.swing.GroupLayout;
importjavax.swing.GroupLayout.Alignment;
importjavax.swing.JButton;
importjavax.swing.JLabel;
importjavax.swing.JPasswordField;
importjavax.swing.JRadioButton;
importjavax.swing.JTextField;
publicclassMyFrameextendsjavax.swing.JFrame {
publicstaticvoidmain(String[] args) {
MyFrame f =newMyFrame();
}
JLabel label1;
JLabel label2;
JLabel label3;
JTextField tf;
JPasswordField psf;
JRadioButton rb1;
JRadioButton rb2;
JButton bt1;
JButton bt2;
publicMyFrame() {
this.setVisible(true);
this.setSize(250,220);
this.se