Re: in need of swing performance advice
- From: Dave Brown <dave@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 26 Jul 2005 15:19:54 +0100
Thanks for the pointer Thomas, JPRofiler was set to ignore java.* calls so I couldnt see further than the .validate call. After going down the tree further I noticed that theres some font loading going. Soo when I changed from tahoma back to ms sans serif for my JLabels it made a world of difference !
Seems swing doesnt perform to good when loading TTF's. Think I'll leave the fonts as default from now on.
Rgds,
Dave.
Thomas Weidenfeller wrote:
Dave Brown wrote:
Hi,
I used JProfiler and tracked it down to the .validate() line.
Drill down more to figure out what's going on inside. E.g. validate will for sure at some time invoke the layout managers.
BTW, and please stop top-posting.
/Thomas
.
- References:
- in need of swing performance advice
- From: Dave Brown
- Re: in need of swing performance advice
- From: Thomas Weidenfeller
- Re: in need of swing performance advice
- From: Dave Brown
- Re: in need of swing performance advice
- From: Thomas Weidenfeller
- in need of swing performance advice
- Prev by Date: Re: TextListener Event
- Next by Date: setCursor deprecated...
- Previous by thread: Re: in need of swing performance advice
- Next by thread: drawImage returns false for Microsoft Java
- Index(es):