It may seem quiet in JB land, but deep in the underground bowels of the Furmankiewicz Laboratories, things are churning nightly.
There's a lot of unstable code right now that needs to be finished, hence no new updates, hopefully more next week.
Priority is to complete a 0.1 release which will have finished support for:
a) binding (Bean and EL) e.g.
bind:
- this.lastName : lastNameTextField.text
- this.fullName: "${firstNameTextField.text} ${lastNameTextField.text}"
b) support for running long running methods via SwingWorker
- first, all the event handlers now support executing multiple methods in sequence, so you can do:
onAction: save
or:
onAction: [validate, save, close]
On the Java side you can use an annotation to flag which method is to be run in background:
private void validate() {}
@DoInBackground(progressMessage="Saving customer data...")
private save(BackgroundEvent evt) {}
private close() {
//will only be executed AFTER the background method finishes successfully
}
c) integration with Commons Validations (or JSR 303 if there was a reference implementation), e.g.:
validate:
- firstNameTextField.text : {mandatory : true. minLength: 5, maxLength: 40}
etc, etc.
This is the dev plan for next week and once it's done and stable, 0.1 will be released and then maybe JB will get some notice. Wish me luck in my late night coding endeavours.
P.S. Update for May 12: binding and background task support is done!
Get latest code drop from javabuilders.org to see it.
Working example of both:
http://code.google.com/p/javabuilders/source/browse/trunk/org.javabuilders.swing/samples/org/javabuilders/swing/samples/binding/BindingFrame1.yaml
http://code.google.com/p/javabuilders/source/browse/trunk/org.javabuilders.swing/samples/org/javabuilders/swing/samples/binding/BindingFrame1.java
I need to do some more work on binding to allow binding a target to multiple elements, but that can come later.
Friday, May 09, 2008
Subscribe to:
Post Comments (Atom)

2 comments:
good luck :)
I did something sort of similar on a project that had a GUI written in Java that was defined in a python script. The core application work was done in the python code and the developer just needed to provide some basic things about how the UI would look. Then, using Jython, the Java code could read that in, interpret it and build the UI. SO, it was sort of declartive like you are doing with YAML. I also had the ability to validate components and a consistent way of display the validation messages. I also made it simple to enable/disable other components in the view based on users action.
Keep up the great work!
You need to go through long distances sometimes, making you buy a lot of Teleport scrolls with your Rose zuly just to go to the cities. The quests are OK and have a good storyline so far, and you will gain a good amount of experience by grinding and rose zulie too. Something I liked in this game was the nice design of the clothes can have from rose online zuly. There also armor also can gain from rose online zulie sets that can be wore by any class. Another nice thing that I would like to talk about, is that you can have nice Arua ROSE zuly in ROSE Online.
Post a Comment