?? dialog_about.java~33~
字號(hào):
package personauth;
import java.awt.*;
import javax.swing.*;
import java.awt.BorderLayout;
import java.awt.Rectangle;
/**
* <p>Title: </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2006</p>
*
* <p>Company: </p>
*
* @author not attributable
* @version 1.0
*/
public class Dialog_about extends JDialog {
JPanel panel1 = new JPanel();
BorderLayout borderLayout1 = new BorderLayout();
JLabel jLabel1 = new JLabel();
public Dialog_about(Frame owner, String title, boolean modal) {
super(owner, title, modal);
try {
setDefaultCloseOperation(DISPOSE_ON_CLOSE);
jbInit();
//System.out.print("hh");
} catch (Exception exception) {
exception.printStackTrace();
}
}
public Dialog_about() {
this(new Frame(), "Dialog_about", true);
}
private void jbInit() throws Exception {
panel1.setLayout(borderLayout1);
jLabel1.setText("狗狗工作室@CopyRight");
jLabel1.setBounds(new Rectangle(6, 11, 140, 20));
this.getContentPane().setLayout(null);
this.setResizable(false);
this.setTitle("關(guān)于我們");
this.getContentPane().add(panel1, null);
this.getContentPane().add(jLabel1, null);
this.setSize(200,65);
this.setVisible(true);
}
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -