Recommendation |
Description |
AWT Runtime |
An optimized AWT application has
performance advantages over JSP. Tomcat and the Browser (rendering process)
reduce the performance in the JSP runtime. |
Instantiate widgets only once |
To instantiate widgets is time consuming
so it improves the performance when you store the instances. |
Use CardLayout |
Use the CardLayout to switch between pages when
the application has not many different pages. CardLayout requires some memory,
so for a large number of pages in an application it hs to be evaluated. |
Use LayoutManger carefully |
LayoutManagers are not always necessary. PDA
screens have a standard resolution, so resizing is not an issue. If LayoutManagers
are used avoid GridBagLayout. |