Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #2774 > unrolled thread

Table Model from Bean

Started by"Tom N" <tom.n@THRWHITE.remove-dii-this>
First post2011-04-27 15:41 +0000
Last post2011-04-27 15:41 +0000
Articles 8 — 3 participants

Back to article view | Back to comp.lang.java.gui


Contents

  Table Model from Bean "Tom N" <tom.n@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
    Re: Table Model from Bean "Tom N" <tom.n@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
      Re: Table Model from Bean "Lionel van den Berg" <lionel.van.den.berg@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
        Re: Table Model from Bean "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
          Re: Table Model from Bean "Lionel van den Berg" <lionel.van.den.berg@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
            Re: Table Model from Bean "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
        Re: Table Model from Bean "Tom N" <tom.n@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
          Re: Table Model from Bean "Lionel van den Berg" <lionel.van.den.berg@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000

#2774 — Table Model from Bean

From"Tom N" <tom.n@THRWHITE.remove-dii-this>
Date2011-04-27 15:41 +0000
SubjectTable Model from Bean
Message-ID<Xns99EB1559AFDA3ndt601946x@61.9.191.5>
  To: comp.lang.java.gui
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?

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [next] | [standalone]


#2788

From"Tom N" <tom.n@THRWHITE.remove-dii-this>
Date2011-04-27 15:41 +0000
Message-ID<Xns99EDB08602319ndt601946x@61.9.191.5>
In reply to#2774
  To: comp.lang.java.gui
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).

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [prev] | [next] | [standalone]


#2789

From"Lionel van den Berg" <lionel.van.den.berg@THRWHITE.remove-dii-this>
Date2011-04-27 15:41 +0000
Message-ID<47413f53@dnews.tpgi.com.au>
In reply to#2788
  To: comp.lang.java.gui
Tom N wrote:

This is strange coming across you two completely unrelated newsgroups!

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [prev] | [next] | [standalone]


#2790

From"Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this>
Date2011-04-27 15:41 +0000
Message-ID<7b7016720ce55@uwe>
In reply to#2789
  To: comp.lang.java.gui
Lionel van den Berg wrote:
>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'.   ;-)

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

Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-gui/200711/1

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [prev] | [next] | [standalone]


#2792

From"Lionel van den Berg" <lionel.van.den.berg@THRWHITE.remove-dii-this>
Date2011-04-27 15:41 +0000
Message-ID<474185b9$1@dnews.tpgi.com.au>
In reply to#2790
  To: comp.lang.java.gui
Andrew Thompson wrote:
> Lionel van den Berg wrote:
>> 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).

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [prev] | [next] | [standalone]


#2795

From"Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this>
Date2011-04-27 15:41 +0000
Message-ID<b8312fad-4fc1-43dc-b67f-2f534ebd0dae@s19g2000prg.googlegroups.com>
In reply to#2792
  To: comp.lang.java.gui
On Nov 19, 11:46 pm, Lionel van den Berg <lione...@gmail.com> wrote:
> Andrew Thompson wrote:
> > Lionel van den Berg wrote:
> >> 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!

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [prev] | [next] | [standalone]


#2793

From"Tom N" <tom.n@THRWHITE.remove-dii-this>
Date2011-04-27 15:41 +0000
Message-ID<Xns99EE140F2C0A5ndt601946x@61.9.191.5>
In reply to#2789
  To: comp.lang.java.gui
Lionel van den Berg wrote:

> Tom N wrote:
> 
> This is strange coming across you two completely unrelated newsgroups!

Not unrelated if you are writing investment software.

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [prev] | [next] | [standalone]


#2799

From"Lionel van den Berg" <lionel.van.den.berg@THRWHITE.remove-dii-this>
Date2011-04-27 15:41 +0000
Message-ID<4743e94d$1@dnews.tpgi.com.au>
In reply to#2793
  To: comp.lang.java.gui
Tom N wrote:
> Lionel van den Berg wrote:
> 
>> Tom N wrote:
>>
>> 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 :(.

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.gui


csiph-web