How can the GUI be optimized
-----------------------------------------------------------------------
IT Interview Questions : http://www.geekinterview.com IT Tutorials and Articles : http://www.geekarticles.com
Roedy Green - 12 Oct 2005 02:59 GMT
On Tue, 11 Oct 2005 19:41:58 -0400, Cornel Bicutzi <> wrote or quoted
>How can the GUI be optimized?
Making sure you call dispose appropriately.
When you need speed, you can drop to a lower level and do your own
drawing with paint or paintComponent.
Make sure your paint/paintComponents don't bother drawing outside the
clipregion.
don't keep creating Font objects when you already have one suitable.
Prune out unnecessary repaints and validates.
Consider VolatileImage for high speed painting.
Most of the code being run is not yours, so there is not that much you
can do.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
Andrew Thompson - 12 Oct 2005 02:59 GMT
> How can the GUI be optimized?
Make it faster to appear, faster to act, and more intuitive
to use (that's as specific as I can be, given the information
supplied).
Thomas Weidenfeller - 12 Oct 2005 08:06 GMT
> How can the GUI be optimized?
Hire an expert.
But I have suspicion that the question is not the reason why you post. A
quick check of google groups reveals that you have posted a couple of
similar vague questions or meaningless replies to other groups. Could it
be that you just want to spam for your geekinterview site?
/Thomas

Signature
The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
http://www.uni-giessen.de/faq/archiv/computer-lang.java.gui.faq/