Article View: borland.public.jbuilder.java.swing
Article #523Remove a panel in a ColorChooser
From: C�dric LAFFONT
Date: Thu, 02 Jun 2005 07:08
Date: Thu, 02 Jun 2005 07:08
13 lines
1234 bytes
1234 bytes
Hello, 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(); Thanks for your help.
Technical Details
Message-ID:
<429eb03a$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 111d45,811d954f7edc4c5c,start X-Google-Attributes: gid111d45,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "C�dric LAFFONT" <laffont@antibia.com> From: "C�dric LAFFONT" <laffont@antibia.com> Newsgroups: borland.public.jbuilder.java.swing Subject: Remove a panel in a ColorChooser Date: Thu, 2 Jun 2005 09:08:34 +0200 Lines: 15 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: <429eb03a$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1117696058 80.125.208.253 (2 Jun 2005 00:07:38 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail