Java的GUI布局管理器 Table2GridBag

码农软件 · 软件分类 · GUI开发框架 · 2019-08-09 19:41:49

软件介绍

Table2gridbag 是一个使用类似HTML 表格的方式来创建用于配置布局管理器的Java代码。

示例代码:

public static void main(String[] args]) {
HashMap<String, JComponent> hm = new HashMap<String, JComponent>);

hm.put("okButton", new JButton("OK"));
hm.put("cancelButton, new JButton("Cancel"));

ConfigurablePanel panel = new ConfigurablePanel(new File(args[0]), hm);

JFrame f = new JFrame();
f.add(panel);
f.pack();
f.setVisible(true);
}

本文地址:https://codercto.com/soft/d/12011.html

Learn Python the Hard Way

Learn Python the Hard Way

Zed Shaw / Example Product Manufacturer / 2011

This is a very beginner book for people who want to learn to code. If you can already code then the book will probably drive you insane. It's intended for people who have no coding chops to build up t......一起来看看 《Learn Python the Hard Way》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换