View RSS Feed

Java Swing

Layout Managers

Rate this Entry
by , 01-08-2012 at 12:35 PM (951 Views)
FlowLayout: Applet and Panel has FlowLayout as their default layout. It lays components from left to right.

BorderLayout: Frame and Dialog has BorderLayout as their default layout. It lays components in north, south, east, west and center.

CardLayout: stack of same size components arranged inside each other.

GridLayout: Makes a bunch of components equal in size and displays them in the requested number of rows and columns.

GridBagLayout: It aligns components by placing them within a grid of cells.

BoxLayout: It stacks the components on top of each other or places them in a row.

Submit "Layout Managers" to Facebook Submit "Layout Managers" to Digg Submit "Layout Managers" to del.icio.us Submit "Layout Managers" to StumbleUpon Submit "Layout Managers" to Google

Categories
Layout

Comments