Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / November 2007

Tip: Looking for answers? Try searching our database.

Table Model from Bean

Thread view: 
Tom N - 16 Nov 2007 15:05 GMT
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).

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

Any suggestions?  Preferably something lightweight and not a code
generator.

Anything like this for a JTree?
Tom N - 19 Nov 2007 06:21 GMT
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.
[quoted text clipped - 3 lines]
> 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).
Lionel van den Berg - 19 Nov 2007 07:46 GMT
This is strange coming across you two completely unrelated newsgroups!
Andrew Thompson - 19 Nov 2007 08:35 GMT
>This is strange coming across you two completely unrelated newsgroups!

What group constitutes 'totally unrelated'?

I don't recall seeing either of you on 'alt.naked.mud-wrestling'.   ;-)

Signature

Andrew Thompson
http://www.physci.org/

Lionel van den Berg - 19 Nov 2007 12:46 GMT
>> This is strange coming across you two completely unrelated newsgroups!
>
> What group constitutes 'totally unrelated'?

Tom knows - aus.invest.

> I don't recall seeing either of you on 'alt.naked.mud-wrestling'.   ;-)

lol, I just observe that group :). (Does it actually exist? Not
according to my ISP).
Andrew Thompson - 20 Nov 2007 01:12 GMT
> >> This is strange coming across you two completely unrelated newsgroups!
>
> > What group constitutes 'totally unrelated'?
>
> Tom knows - aus.invest.

'Aus' as in Australia?!  Now *I'm* surprised.

(takes a quick look) So how do you get messages through
the spam and political trolling?

> > I don't recall seeing either of you on 'alt.naked.mud-wrestling'.   ;-)
>
> lol, I just observe that group :). (Does it actually exist? ...

No.  But it damn well *should* exist!
Lionel van den Berg - 21 Nov 2007 08:15 GMT
>>>> This is strange coming across you two completely unrelated newsgroups!
>>> What group constitutes 'totally unrelated'?
[quoted text clipped - 4 lines]
> (takes a quick look) So how do you get messages through
> the spam and political trolling?

Kill file, kill file, and keep adding to your kill file :).
Tom N - 19 Nov 2007 14:58 GMT
> This is strange coming across you two completely unrelated newsgroups!

Not unrelated if you are writing investment software.
Lionel van den Berg - 21 Nov 2007 08:16 GMT
>> This is strange coming across you two completely unrelated newsgroups!
>
> Not unrelated if you are writing investment software.

True - I started doing that in my own time, but my own time ran out :(.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.