19.09.2015 Views

Prentice.Hall.Introduction.to.Java.Programming,.Brief.Version.9th.(2014).[sharethefiles.com]

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

***This is a bonus Web chapter<br />

CHAPTER 37<br />

Containers, Layout Managers, and Borders<br />

Objectives<br />

To explore the internal structures of the Swing container (§37.2).<br />

To explain how a layout manager works in <strong>Java</strong> (§37.3).<br />

To use CardLayout and BoxLayout (§§37.3.1-37.3.2).<br />

<br />

To use the absolute layout manager <strong>to</strong> place <strong>com</strong>ponents in the fixed<br />

position (§37.3.3).<br />

To create cus<strong>to</strong>m layout managers (§37.4).<br />

To use JScrollPane <strong>to</strong> create scroll panes (§37.5).<br />

To use JTabbedPane <strong>to</strong> create tabbed panes (§37.6).<br />

To use JSplitPane <strong>to</strong> create split panes (§37.7).<br />

To use various borders for Swing <strong>com</strong>ponents (§37.8).<br />

1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!