From: Hole on
Hi There,

I was looking for a solution to bind Swing widgets and beans (or list
of beans).
Surprisingly, I've found some projects on dev.java.net that are
completely overlapped and it's not clear which project is active or
not (as for JSRs).

In Java 6 SE, there's no bean binding implementation.

So, is anyone aware of a standard, stabilized and wide-used by java
community for bindings?

In particular, I was looking for some patterns/libraries that allows
to bind directly a JTable and a list of beans. And, for instance,
retrieve the bean which corresponds to a selected row in a JTable and
binding properties of this selected bean to text properties of some
JLabels (imagine a panel with detailed info about the selected
object).

BTW, I'm really disappointed about this mess around...

Thanks in advance,
--
-d
From: Alessio Stalla on
On Jun 22, 3:40 pm, Hole <h0lefor...(a)gmail.com> wrote:
> Hi There,
>
> I was looking for a solution to bind Swing widgets and beans (or list
> of beans).
> Surprisingly, I've found some projects on dev.java.net that are
> completely overlapped and it's not clear which project is active or
> not (as for JSRs).
>
> In Java 6 SE, there's no bean binding implementation.
>
> So, is anyone aware of a standard, stabilized and wide-used by java
> community for bindings?
>
[snip]

I don't know about your specific JTable issue, but in general I
recommend JGoodies Binding. It is actively maintained and has a nice
API, imho. The most popular alternative is probably BBB (Better Beans
Binding), but I've never used it.

hth,
Alessio
From: markspace on
Hole wrote:

> I was looking for a solution to bind Swing widgets and beans (or list
> of beans).
> Surprisingly, I've found some projects on dev.java.net that are
> completely overlapped and it's not clear which project is active or
> not (as for JSRs).


Can you share what you found, overlapped or otherwise? I'd be
interested in seeing what has been worked on so far. It might also help
us understand what sort of binding you are looking for. I think most of
us have a general idea but something a little more specific might be
helpful.
From: Hole on
On Jun 22, 4:08 pm, Alessio Stalla <alessiosta...(a)gmail.com> wrote:
> On Jun 22, 3:40 pm, Hole <h0lefor...(a)gmail.com> wrote:> Hi There,
>
> > I was looking for a solution to bind Swing widgets and beans (or list
> > of beans).
> > Surprisingly, I've found some projects on dev.java.net that are
> > completely overlapped and it's not clear which project is active or
> > not (as for JSRs).
>
> > In Java 6 SE, there's no bean binding implementation.
>
> > So, is anyone aware of a standard, stabilized and wide-used by java
> > community for bindings?
>
> [snip]
>
> I don't know about your specific JTable issue, but in general I
> recommend JGoodies Binding. It is actively maintained and has a nice
> API, imho. The most popular alternative is probably BBB (Better Beans
> Binding), but I've never used it.
>
> hth,
> Alessio

Thanks Alessio,

actually I chose to look at that since it seems the proposal that
might be adopted in JDK 7, is it right?
From: Alessio Stalla on
On Jun 22, 5:02 pm, Hole <h0lefor...(a)gmail.com> wrote:
> On Jun 22, 4:08 pm, Alessio Stalla <alessiosta...(a)gmail.com> wrote:
>
>
>
> > On Jun 22, 3:40 pm, Hole <h0lefor...(a)gmail.com> wrote:> Hi There,
>
> > > I was looking for a solution to bind Swing widgets and beans (or list
> > > of beans).
> > > Surprisingly, I've found some projects on dev.java.net that are
> > > completely overlapped and it's not clear which project is active or
> > > not (as for JSRs).
>
> > > In Java 6 SE, there's no bean binding implementation.
>
> > > So, is anyone aware of a standard, stabilized and wide-used by java
> > > community for bindings?
>
> > [snip]
>
> > I don't know about your specific JTable issue, but in general I
> > recommend JGoodies Binding. It is actively maintained and has a nice
> > API, imho. The most popular alternative is probably BBB (Better Beans
> > Binding), but I've never used it.
>
> > hth,
> > Alessio
>
> Thanks Alessio,
>
> actually I chose to look at that since it seems the proposal that
> might be adopted in JDK 7, is it right?

I don't think BBB is being included in JDK 7. At least the JDK 7
features page [1] does not list it. I do believe that it's included in
the Swing GUI editor, Matisse, which is part of NetBeans, but I'm not
sure about that.

Alessio

[1] http://openjdk.java.net/projects/jdk7/features/