Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #13848
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!to5g2000pbc.googlegroups.com!not-for-mail |
|---|---|
| From | Peter <mcheung63@gmail.com> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: swing component? |
| Date | Tue, 24 Apr 2012 06:44:57 -0700 (PDT) |
| Organization | http://groups.google.com |
| Lines | 19 |
| Message-ID | <4b99164c-346d-4e76-a086-64fb69a3bde1@to5g2000pbc.googlegroups.com> (permalink) |
| References | <24010092.561.1335104359317.JavaMail.geo-discussion-forums@pbckz3> <jn175o$9u8$1@news.albasani.net> <jn17g2$agj$1@news.albasani.net> <jn1e2d$7mn$1@dont-email.me> |
| NNTP-Posting-Host | 210.5.164.14 |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| X-Trace | posting.google.com 1335275178 26773 127.0.0.1 (24 Apr 2012 13:46:18 GMT) |
| X-Complaints-To | groups-abuse@google.com |
| NNTP-Posting-Date | Tue, 24 Apr 2012 13:46:18 +0000 (UTC) |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | to5g2000pbc.googlegroups.com; posting-host=210.5.164.14; posting-account=bv9fUwoAAAALZPMyH_uNDx4MtNzAsvy6 |
| User-Agent | G2/1.0 |
| X-HTTP-UserAgent | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/534.55.3 (KHTML, like Gecko) Version/5.1.5 Safari/534.55.3,gzip(gfe) |
| X-Received-Bytes | 2107 |
| Xref | csiph.com comp.lang.java.programmer:13848 |
Show key headers only | View raw
On Apr 23, 1:10 am, markspace <-@.> wrote:
> On 4/22/2012 8:18 AM, Jan Burse wrote:
>
> >> myTable.putClientProperty("com.mycompany.mypackage.mykey", "value");
>
> > "The clientProperty dictionary is not intended to support large scale
> > extensions to JComponent nor should be it considered an alternative to
> > subclassing when designing a new component."
>
> Thanks to you and Quoll for pointing that out, I wasn't aware of that
> method. However, sub-classing is the last thing I'd want to do for the
> Swing API. The docs do say "large scale extensions," so as long as the
> OP only wants to store a few properties, it should be fine.
>
> OTOH, I've never needed to use this facility, so I really do wonder what
> Peter means to do. There's probably better ways of accomplishing his goal.
Thank you all gentlemen :-)
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
swing component? Peter Cheung <cmk128@gmail.com> - 2012-04-22 07:19 -0700
Re: swing component? markspace <-@.> - 2012-04-22 07:47 -0700
Re: swing component? "Qu0ll" <Qu0llSixFour@gmail.com> - 2012-04-23 01:05 +1000
Re: swing component? Jan Burse <janburse@fastmail.fm> - 2012-04-22 17:12 +0200
Re: swing component? Jan Burse <janburse@fastmail.fm> - 2012-04-22 17:18 +0200
Re: swing component? markspace <-@.> - 2012-04-22 10:10 -0700
Re: swing component? Peter <mcheung63@gmail.com> - 2012-04-24 06:44 -0700
Re: swing component? Roedy Green <see_website@mindprod.com.invalid> - 2012-04-27 05:06 -0700
Re: swing component? Roedy Green <see_website@mindprod.com.invalid> - 2012-04-24 08:52 -0700
csiph-web