Re: Table Model from Bean



Following up my own post:

I'm looking for a LGPL or similar package that provides a table model
for a JTable with values provided by beans.

I'd like to be able to have both one bean instance per row (so
attribute names are the column names) and alternately where one bean
instance populates the entire table (where attribute name is in column
0 and value is in column 1).

Wrote my own table models which get data from Introspection from beans then
found this...
http://www.ibm.com/developerworks/java/library/j-tabmod/
which provides a table model for multiple beans, with an XML config file.
You can specify which properties to include in the config file.

Needs to provide for editing the values with value constraints and
property change notification.

Built into BeanInfo etc (standard Java).
.