Re: A fixed size window in Java
- From: Thomas Hawtin <usenet@xxxxxxxxxxxxxxxxx>
- Date: Sat, 29 Apr 2006 17:43:47 +0100
C. wrote:
The problem is that the window is not repainted. I have minimized and maximized it and the display area has been repainted ok. But calling repaint() after validate() doesn't work.
parent.revalidate(); parent.repaint(); should work. A big advantage of revalidate over invalidate is that you can call it as much as you want, but all the calls will be collected together so it wont be slow.
Tom Hawtin
--
Unemployed English Java programmer
http://jroller.com/page/tackline/
.
- References:
- A fixed size window in Java
- From: C.
- Re: A fixed size window in Java
- From: Thomas Hawtin
- Re: A fixed size window in Java
- From: C.
- Re: A fixed size window in Java
- From: C.
- A fixed size window in Java
- Prev by Date: Re: A fixed size window in Java
- Next by Date: Re: call a method at intervals
- Previous by thread: Re: A fixed size window in Java
- Next by thread: Re: A fixed size window in Java
- Index(es):