demolayout.java

来自「精通NetBeans光盘源代码,很好很好的资料」· Java 代码 · 共 31 行

JAVA
31
字号
/*
 * DemoLayout.java
 *
 * Created on 2006年3月22日, 下午11:56
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package org.netbeans.swing.layoutmanager;

/**
 *
 * @author boyingking
 */
public class DemoLayout {
    
    /** Creates a new instance of DemoLayout */
    public DemoLayout() {
    }
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                //new DemoGridLayoutFrame().setVisible(true);
           //new DemoCardLayout().setVisible(true);
            new DemoNullLayout().setVisible(true);
            }
        });
    }    
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?