|
|
|
|
Before you can learn how to use the various GUI components provided by the Swing library, you need to learn how those GUI components are typically laid out within GUI containers. Unlike with GUIs such as Microsoft Windows, which typically uses absolute pixel positioning to place its components, Java uses layout managers to control how things are laid out. A major reason for using layout managers is that it can avoid the problems of the same code producing different results on different platforms. You can use absolute pixel positioning for laying out components if you wish, but it is strongly discouraged. |
|
This page was last modified on 02 October, 2007 |