Layout « Swing « Java Articles

Java Articles
1. Class Definition
2. Data
3. Development
4. GUI
5. J2EE
6. J2ME
7. JavaBeans
8. Language
9. Microsoft Collabration
10. Network
11. Swing
12. System Resource
13. XML
Microsoft Office Word 2007 Tutorial
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Java Articles » Swing » Layout 
1. Flex your grid layout
Author:Bogdan Dorohonceanu
URL:http://www.javaworld.com/javaworld/javatips/jw-javatip121.html?
Summary: 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. (1,500 words; December 14, 2001)


2. SGLayout-a layout manager for the rest of us
Author:John Redmond
URL:http://www.javaworld.com/javaworld/javatips/jw-javatip129.html#
Summary: Complex graphical user interfaces (GUIs) can be difficult to set up using standard Java layout managers like BorderLayout, GridLayout, or FlowLayout. While GridBagLayout proves a much more powerful standard Java layout manager, it remains unpopular because developers find it complicated and nonintuitive. In response, in this Java Tip, John Redmond presents the SGLayout manager, which allows you to construct complex GUIs in a simple and obvious way. (1,600 words; August 2, 2002)


w___ww__._ja__v__a2__s___.c__om | Contact Us
Copyright 2003 - 08 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.