CHAPTER 5

image

Picking a Layout Manager Can Be a Pane

Earlier in this book,1 you learned a bit about how items are placed, or positioned, on an application. This chapter deals with that topic in more detail and discusses some of the most commonly used Layout Managers. These include some of the more complicated ones, like the Absolute Layout and GridBagLayout Managers, as well as some of the simpler ones like the FlowLayout, BorderLayout, and BoxLayout Managers.

You will also learn about components that aren’t exactly Layout Managers, including SplitPane and TabbedPane. You will then be better able to decide how to position the components on the application ...

Get Swing for Jython: Graphical Jython UI and Scripts Development using Java Swing and WebSphere Application Server now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.