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

Swing JavaBuilder 1.0.1 is out

08.12.2010
| 2495 views |
  • submit to reddit
Location: 
Canada

I am happy to announce the stable 1.0 release of Swing JavaBuilder, a library aiming at maximizing the productivity of a Java Swing developer via declarative UIs, MigLayout DSL, databinding and build-in input validation.

It's aimed to be a full-blown replacement for IDE-specific tools such as NetBeans Matisse.

New in 1.0:
- fixes, fixes, fixes
- thorough documentation in PDF and HTML format (inspired by Spring's quality docs)
- enhancement to MigLayout DSL to allow specifying control sizes
- auto-creation of Swing controls based on naming conventions
- control prototypes (for reusable controls)
- initial GlazedLists plugin

Get started by reading our PDF book and then download the code!
You can also read our JavaLobby article. It refers to the older 0.3 version, but covers most of the basics.
Also, visit our website and our discussion group.
0
Average: 5 (1 vote)
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.)

Tags:

Comments

Marton Kiss replied on Tue, 2010/11/02 - 7:52am

Hi! Great work, everything works just fine, except for the custom components (for me, at least). Actually I try to use a date picker (I tried swingx and jcalendar), but just can't get them to work as the non-custom components. I added this component to the persons example, so I just copy the parts that are mine:

First I create the component in the persons.app:

private JXDatePicker dp;

Then I register it later in the main:

SwingJavaBuilder.getConfig().
addType(org.jdesktop.swingx.JXDatePicker.class);

And in the YAML, I try to get some action like:

- JXDatePicker(name=dp):
onMouseClicked: onMouseClickedTest

and nothing happens, though I can set the date property of dp, and

onMouseClickedTest

works just fine with any other non-custom component. I have a strong feeling that I miss something important here, but I just can't figure it out. Could you point me in the right direction? Thanks.

Update: I added this question to the discussion group

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.