⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 barsexample.java

📁 Novocode的 SWT 控件框架 丰富了MDI功能
💻 JAVA
字号:
package com.novocode.naf.example.bars;

import com.novocode.naf.app.NAFApplication;
import com.novocode.naf.model.*;
import com.novocode.naf.resource.*;


/**
 * MenuBar and ToolBar example.
 * 
 * @author Stefan Zeiger (szeiger@novocode.com)
 * @since Nov 22, 2003
 */

public class BarsExample
{
  public static void main(String[] args)
  {
    final NAFApplication app = new NAFApplication(BarsExample.class);
    NGComponent win = app.getResource("bars.naf#shell");
    ModelMap models = new ModelMap();
    models.put("model2", new DefaultStringModel("BarsExample"));
    app.runMainWindow(win, models);
    app.dispose();
  }
}

⌨️ 快捷键说明

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