about.java~1~
来自「JBuilder实现的具有单机」· JAVA~1~ 代码 · 共 46 行
JAVA~1~
46 行
package dialog;import java.awt.*;import javax.swing.*;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2005</p> * <p>Company: </p> * @author not attributable * @version 1.0 */public class About extends JDialog { JLabel jLabel1 = new JLabel(); JLabel jLabel2 = new JLabel(); public About(Frame frame, String title, boolean modal) { super(frame, title, modal); try { jbInit(); pack(); } catch(Exception ex) { ex.printStackTrace(); } } public About() { this(null, "", false); } private void jbInit() throws Exception { jLabel1.setFont(new java.awt.Font("宋体", 0, 13)); jLabel1.setText("超快俄罗斯V 1.0"); jLabel1.setBounds(new Rectangle(14, 9, 115, 23)); this.getContentPane().setLayout(null); jLabel2.setFont(new java.awt.Font("宋体", 0, 13)); jLabel2.setText("jLabel2"); jLabel2.setBounds(new Rectangle(14, 36, 123, 27)); this.getContentPane().add(jLabel1, null); this.getContentPane().add(jLabel2, null); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?