Welcome!

Joseph Cozad

Subscribe to Joseph Cozad: eMailAlertsEmail Alerts
Get Joseph Cozad via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by Joseph Cozad

A layout manager is an object that positions and resizes components within a display area according to a specific algorithm. The Java 1.2 AWT package provides 10 layout manager classes that can be used to accomplish this task. Each has a defined set of behaviors that organize components in a container. Each Java container instance is associated with an instance of one of these layout managers. By nesting one container/layout manager combination within another one, complex screen layouts can be implemented. Sometimes the layout managers don't individually meet all the layout requirements needed to implement a particular GUI design. And in the case of complex layout designs, nesting container/layout manager combinations can produce code that is hard to understand. This article discusses what a layout manager is and how it is implemented in Java. Through a real-world exa... (more)