Re: comp.lang.java.gui FAQ
From: Babu Kalakrishnan (k.a.l.a_at_sankya.com)
Date: 04/21/04
- Next message: Martin Winkelbauer: "Re: Should I Use JDialog For.... ?"
- Previous message: Roedy Green: "Re: comp.lang.java.gui FAQ"
- In reply to: hiwa: "Re: comp.lang.java.gui FAQ"
- Next in thread: hiwa: "Re: comp.lang.java.gui FAQ"
- Reply: hiwa: "Re: comp.lang.java.gui FAQ"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 21 Apr 2004 13:00:08 +0530
hiwa wrote:
>
> Small contribution:
> Q: GUI doesn't update.
> A: Call validate() on the container.
>
Correction :
Q : GUI doesn't update after modifying the the contents of a Container.
A : For Swing containers, call revalidate()
For AWT containers, call invalidate() followed by validate()
BK
- Next message: Martin Winkelbauer: "Re: Should I Use JDialog For.... ?"
- Previous message: Roedy Green: "Re: comp.lang.java.gui FAQ"
- In reply to: hiwa: "Re: comp.lang.java.gui FAQ"
- Next in thread: hiwa: "Re: comp.lang.java.gui FAQ"
- Reply: hiwa: "Re: comp.lang.java.gui FAQ"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|