The Artima Developer Community
Sponsored Link

Java Buzz Forum
Java Tip 121: Flex your grid layout

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
News Manager

Posts: 47623
Nickname: newsman
Registered: Apr, 2003

News Manager is the force behind the news at Artima.com.
Java Tip 121: Flex your grid layout Posted: Oct 12, 2006 8:35 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by News Manager.
Original Post: Java Tip 121: Flex your grid layout
Feed Title: JavaWorld
Feed URL: http://www.javaworld.com/index.rss
Feed Description: JavaWorld.com: Fueling Innovation
Latest Java Buzz Posts
Latest Java Buzz Posts by News Manager
Latest Posts From JavaWorld

Advertisement
Unfortunately, the JDK does not include a GridLayout class that allows for a matrix layout with multisized cells (rows of different heights or columns of different widths). To obtain that type of layout, developers usually use GridBagLayout, creating long and cluttered code as they add components into a container. This tip describes a simple GridLayout extension that helps programmers write less and more readable code.

Read: Java Tip 121: Flex your grid layout

Topic: Switched to Feedburner Previous Topic   Next Topic Topic: 5 Principles For Programming

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use