dialog6.java~3~
来自「俄罗斯方块游戏,大学时写的,支持单机及点对点网络对战!同时我还在里面加入了使用技」· JAVA~3~ 代码 · 共 45 行
JAVA~3~
45 行
package ct;import java.awt.*;import javax.swing.*;import com.borland.jbcl.layout.*;import javax.swing.border.*;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2006</p> * <p>Company: </p> * @author not attributable * @version 1.0 */public class Dialog6 extends JDialog { JPanel jPanel1 = new JPanel(); XYLayout xYLayout1 = new XYLayout(); Border border1; JLabel jLabel1 = new JLabel(); public Dialog6(Frame frame, String title, boolean modal) { super(frame, title, modal); try { jbInit(); pack(); } catch(Exception ex) { ex.printStackTrace(); } } public Dialog6() { this(null, "", false); } private void jbInit() throws Exception { border1 = new MatteBorder(null); jPanel1.setLayout(xYLayout1); jPanel1.setBorder(border1); jLabel1.setText("jLabel1"); this.getContentPane().add(jPanel1, BorderLayout.CENTER); jPanel1.add(jLabel1, new XYConstraints(149, 54, 241, 154)); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?