CHAPTER 63 — Radio Buttons, BorderLayout, and Glue

Classic programmed-learning exercises, refreshed for modern Java and presented in the current MrStyner.com portfolio style.

Modern Java noteThis archive has been refreshed for Java 25 LTS. Core language concepts remain useful, while outdated setup instructions and browser-era Java are labeled or replaced. Java 26 is the current feature release; Java 25 is used here as the stable teaching baseline.
go to home page   go to next page

created: 01/20/02; revised: 02/23/02, 02/17/03, 02/18/05, 07/18/06; refurbished: 11/10/08

CHAPTER 63 — Radio Buttons, BorderLayout, and Glue

This chapter introduces a new graphical component — radio buttons — and a new layout manager — BorderLayout.

Chapter Topics:

  • Radio buttons
  • Button groups
  • The BorderLayout layout manager
  • The Box class
  • Glue

QUESTION 1:

How many stations is your radio tuned to at any one time?