Re: can't stop JPanel paint
- From: Roedy Green <see_website@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 26 Jul 2011 06:30:24 -0700
On Thu, 14 Jul 2011 04:43:04 -0700 (PDT), Peter Cheung
<cmk128@xxxxxxxxx> 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.
.
- References:
- can't stop JPanel paint
- From: Peter Cheung
- can't stop JPanel paint
- Prev by Date: java.net.IDN jar for JDK 1.5?
- Next by Date: throttling
- Previous by thread: 回覆:Re: can't stop JPanel paint
- Next by thread: Looking for L1 Java Candidates, we will sponser H1
- Index(es):