Article View: borland.public.jbuilder.java.swing
Article #525Re: Remove a panel in a ColorChooser
From: C�dric LAFFONT
Date: Thu, 02 Jun 2005 13:40
Date: Thu, 02 Jun 2005 13:40
42 lines
2242 bytes
2242 bytes
Thank you but setting the visibility to false doesn't work better than my method. Any other idea? "Paul Furbacher [TeamB]" <pfurbacher@mac.com> a �crit dans le message de news:429ef737$1@newsgroups.borland.com... > C�dric LAFFONT wrote: > > > I try to remove the RGB panel in a ColorChooser but it doesn't work. > > This is what I do: > > > > JColorChooser chsrClr = new JColorChooser(); > > ... > > mainPanel.add(chsrClr); > > ... > > AbstractColorChooserPanel ccp[] = chsrClr.getChooserPanels(); > > chsrClr.removeChooserPanel(ccp[2]); > > chsrClr.repaint(); > > This is just an idea. Once you identify the panel > just set its visibility to false. That might be easier > than removing it. > > As I said, this is just an idea. I don't have time > to test it. > > > -- > > > Paul Furbacher (TeamB) > > Save time, search the archives: > http://www.borland.com/newsgroups/ngsearch.html > > Is it in Joi Ellis's Faq-O-Matic? > http://www.visi.com/~gyles19/fom-serve/cache/1.html > > Finally, please send responses to the newsgroup only. > That means, do not send email directly to me. > Thank you.
Technical Details
Message-ID:
<429f0c08$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.spamkiller.net!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<429eb03a$1@newsgroups.borland.com> <429ef737$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,811d954f7edc4c5c X-Google-Attributes: gid111d45,public X-Google-Language: ENGLISH,ASCII Reply-To: "C�dric LAFFONT" <laffont@antibia.com> From: "C�dric LAFFONT" <laffont@antibia.com> Newsgroups: borland.public.jbuilder.java.swing References: <429eb03a$1@newsgroups.borland.com> <429ef737$1@newsgroups.borland.com> Subject: Re: Remove a panel in a ColorChooser Date: Thu, 2 Jun 2005 15:40:55 +0200 Lines: 44 Organization: ANTIBIA X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 80.125.208.253 Message-ID: <429f0c08$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1117719560 80.125.208.253 (2 Jun 2005 06:39:20 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.spamkiller.net!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail