Java Enterprise Architect, open source and Linux fan. Jacek has posted 11 posts at DZone. You can read more from them at their website. View Full User Profile

Quick Menu Creation with the Java SwingBuilder's SWT-style API

07.19.2008
| 5927 views |
  • submit to reddit

The latest 0.2.DEV release of the Java SwingBuilder introduces SWT-style API for creating menu items in the YAML file, thus allowing you to specify the text, mnemonic and accelerator all in one property:

JMenuItem(name=saveMenu, onAction=save, text="&Save\tCtrl+S")

 

Get the latest version from our site: 
http://code.google.com/p/javabuilders/

In other news we've also updated our visual layout DSL wiki to show how John O'Conner's layout manager challenge:
http://weblogs.java.net/blog/joconner/archive/2006/10/layout_manager.html

...would be implemented in the Java SwingBuilder with our visual layout DSL for MigLayout ...piece of cake:

http://code.google.com/p/javabuilders/wiki/LayoutDSL

 

 

AttachmentSize
layout1.png36.77 KB
0
Published at DZone with permission of its author, Jacek Furmankiewicz.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)