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


Groups > comp.lang.java.programmer > #6574

Re: can't stop JPanel paint

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail
From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: can't stop JPanel paint
Date Tue, 26 Jul 2011 06:30:24 -0700
Organization Canadian Mind Products
Lines 18
Message-ID <19gt279m2nrd4c14ublavb42s5iec2id6d@4ax.com> (permalink)
References <728e86bb-daed-40cd-b8a2-d2bf08059dd5@glegroupsg2000goo.googlegroups.com>
Reply-To Roedy Green <see_website@mindprod.com.invalid>
NNTP-Posting-Host RCd/Ul4tyxGUBII8WGwa5g.user.speranza.aioe.org
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Complaints-To abuse@aioe.org
X-Notice Filtered by postfilter v. 0.8.2
X-Newsreader Forte Agent 6.00/32.1186
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:6574

Show key headers only | View raw


On Thu, 14 Jul 2011 04:43:04 -0700 (PDT), Peter Cheung
<cmk128@gmail.com> wrote, quoted or indirectly quoted someone who said
:

>Hi
>   I have overrider all the paintXX method and did nothing in there. But why I still able to see the component on top of the JPanel?

you would gave to block the paint methods of all the children which
might be invoked independently of the JPanel container if their values
changed.

I trust you are just experimenting.  The proper way to hide things is
with setVisible( false ).
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
Most of computer code is for telling the computer
what do if some very particular thing goes wrong. 

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar


Thread

can't stop JPanel paint Peter Cheung <cmk128@gmail.com> - 2011-07-14 04:43 -0700
  Re: can't stop JPanel paint supercalifragilisticexpialadiamaticonormalizeringelimatisticantations <supercalifragilisticexpialadiamaticonormalizeringelimatisticantations@averylongandannoyingdomainname.com> - 2011-07-14 08:37 -0400
  Re: can't stop JPanel paint Roedy Green <see_website@mindprod.com.invalid> - 2011-07-26 06:30 -0700

csiph-web