Re: A fixed size window in Java
- From: "C." <anonimo@xxxxxxxxx>
- Date: Sat, 29 Apr 2006 16:49:25 GMT
I have tried that but now I have the same problem. The objets are not shown correctly. I have a Panel with some JLables layed out with GridBagLayout. When some labels are deleted and I want to be redisplayed that area using validate(), then the old labels are not removed (the actual JLabel are removed, but their graphics are not).
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.
How do you think I can fix that?
Thanks!!!
.
- Follow-Ups:
- Re: A fixed size window in Java
- From: Thomas Hawtin
- Re: A fixed size window in Java
- 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.
- A fixed size window in Java
- Prev by Date: Re: call a method at intervals
- Next by Date: Re: A fixed size window in Java
- Previous by thread: Re: A fixed size window in Java
- Next by thread: Re: A fixed size window in Java
- Index(es):
Relevant Pages
|