Re: in need of swing performance advice



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

.