Murach's Java SE 6
How to work with controls and layout managers

Once you know how to use Swing to develop a graphical user interface like the one in chapter 15, this chapter shows you how to code a GUI using more sophisticated controls and layout managers.

Chapter 16 How to work with controls and layout managers
How to work with components 510
A summary of the Swing components presented in this chapter 510
How to work with text areas 512
How to work with scroll panes 514
How to work with check boxes 516
How to work with radio buttons 518
How to work with borders 520
How to work with combo boxes 522
How to use event listeners with a combo box 524
How to work with lists 526
How to work with multiple selections in a list 528

How to work with list models

530
How to work with layout managers 532
A summary of the layout managers 532

How to work with the Grid Bag layout manager

534
How to set the constraints for a Grid Bag layout 536
An application that uses the Grid Bag layout manager 538




Murach's Java SE 6

Learn more about this book

Add this book to your cart



Our Ironclad Guarantee

First, try our books for 90 days. Then, if you aren't completely convinced that our books are the best ones you've ever used, you can return them for a full refund...no questions asked.