Re: Self-changing font...
- From: "Rob McDonald" <robm@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 28 Feb 2006 12:25:16 -0500
Unfortunately here isn't any order. It is unknown in that order events
arrive into EventQueue.
My experiment showed me that componentResized called before repaint.
That is why I think will be the best to keep your sizing calculation in
paintComponent (you force one more repaint. May be it more expensive
than calculating).
How practical would it be to identify and remove the other resize event?
Rob
.
- References:
- Self-changing font...
- From: Rob McDonald
- Re: Self-changing font...
- From: Vova Reznik
- Re: Self-changing font...
- From: Rob McDonald
- Re: Self-changing font...
- From: Rob McDonald
- Re: Self-changing font...
- From: Vova Reznik
- Self-changing font...
- Prev by Date: Re: Self-changing font...
- Next by Date: java swing gui/windows xp problem
- Previous by thread: Re: Self-changing font...
- Next by thread: java swing gui/windows xp problem
- Index(es):