Re: revalidate() vs. repaint()?
- From: "Rene Ruppert" <rene.ruppert@xxxxxxxxxxx>
- Date: Thu, 28 Apr 2005 16:27:25 +0200
Hi,
> The validate(), invalidate(), and revalidate() methods are useful if an
> extension of Container overrides its doLayout() method, say to do
> something other than the default behavior of invoking the
> layoutContainer(Container) method of the LayoutManager of the Container.
>
> Using a custom Container that overrides its doLayout() method to
> layout the Container is an alternative to using a custom LayoutManager.
So this means, if I use setLayout(null), re/in/validate() is of no use,
correct?
René
.
- Follow-Ups:
- Re: revalidate() vs. repaint()?
- From: A. Bolmarcich
- Re: revalidate() vs. repaint()?
- References:
- revalidate() vs. repaint()?
- From: Rene Ruppert
- Re: revalidate() vs. repaint()?
- From: A. Bolmarcich
- revalidate() vs. repaint()?
- Prev by Date: Re: revalidate() vs. repaint()?
- Next by Date: Difference between itemStateChanged and stateChanged for a JCheckBoxMenuItem
- Previous by thread: Re: revalidate() vs. repaint()?
- Next by thread: Re: revalidate() vs. repaint()?
- Index(es):
Relevant Pages
|