tut10_2009_sol - following factors: z The size of any fonts...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
EE3206/EE5805 Java Programming and Applications Tutorial 10 – Building GUI 1. Java uses LayoutManager to manage GUI components’ layout. A LayoutManager considers various factors of the graphical context and computes the proper size of a component in a container. Therefore, different LayoutManager use different algorithms to compute the size and the preferred size is just one of the many factors being considered. This size information is based on but not limited to the
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: following factors: z The size of any fonts involved z The text that might appear in a component z Settings such as number of rows or columns z The amount of data in a component z The look and feel in question z Borders that have been applied to a component z The layout manager that's managing the contents of a container z The size of an image to be displayed in a component...
View Full Document

This note was uploaded on 04/20/2010 for the course ELECTRONIC EE3206 taught by Professor Tingchiwang during the Spring '10 term at École Normale Supérieure.

Ask a homework question - tutors are online