Swing data binding frameworks
Asked Answered
I

6

25

Almost the same question has been asked a year ago, but the there has been some new development in this area.

Selecting a (data binding) framework for swing application seems to be quite difficult. JSR-295 is abandoned, many swing frameworks which provide binding are work-in-progress, abandoned or too heavy for my quite simple app. JGoodies Swing suite is expensive, but luckily its libraries are free.

Has anyone any real-world experience of new UFaceKit. It looks promising, but quite immature. I am particularly interested in Swing implementation and documentation. Any insight on UFaceKits development schedule would be appreciated, because I can hold by framework choice for a while. Requirements are not anything fancy, just working binding with a nice API.

I also found Mogwai dataBinding, but it seems quite incomplete and requires manual synchronization activation, which makes it useless compared to coarse grained synchronization easily written by hand.

Incomplete frameworks include at least Spring RCP and many JSR-296 forks.

So, is the JGoodies data binding really the only realistic choice? Or are there any other viable solutions available?


Edit:
This question seems to rank quite high in google and the accepted answer reflects the time question was originally asked. Anyone who seeks to build new swing application that uses databinding should check all the answers, they have information about latest progress in this area.

Iorio answered 8/3, 2010 at 11:44 Comment(1)
if you like groovy then take a look at griffonColin
P
4

BBB (pretty much the official fork of JSR 295) works just fine.

Perrine answered 9/3, 2010 at 3:30 Comment(1)
Thanks, I'll have a look of it.Iorio
W
3

The Beanfabrics framework contains some sort of data binding. In fact it is an implementation of the Presentation Model pattern: http://code.google.com/p/beanfabrics/

Washrag answered 9/2, 2011 at 19:50 Comment(0)
S
1

I'm writing a library that has support for Swing data binding using Views, Binders and ControlAccessors for Swing Components.

See http://www.jdal.org/doc/swing/jdal-swing-binding.php

Stearn answered 29/7, 2011 at 11:23 Comment(0)
G
0

This project also has a data binding to forms that's easy to use, I'm created this project 2 years ago and it's growing from my ideas and some collaborators since that.

https://github.com/MarkyVasconcelos/Towel

Glossotomy answered 9/2, 2011 at 19:53 Comment(0)
B
0

We are going to use now Eclipse WindowBuilder, and I think it should go well

See Swing Data Binding Example at http://code.google.com/javadevtools/

It is uses beansbinding-1.2.1.jar, that is jdesktop.org project. If it is related to JSR-295, I don't know (please edit)

Boger answered 21/4, 2011 at 9:1 Comment(0)
L
0

Melasse project can glue UI and beans togather w/o creating class: Binder.bind(/* source, target, options */).

e.g. To enable an action/button only when textfield is not empty: https://github.com/cchantep/melasse/blob/master/README.md#bind-buttonaction-to-provided-value .

Lackadaisical answered 31/12, 2013 at 8:23 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.