Exercises
To extend your knowledge of the subjects covered today, try the following exercises:
Create an application with a frame that includes all of the VCR controls as individual components: play, stop/eject, rewind, fast-forward, and pause. Choose a size for the window that enables all the components to be displayed on a single row.
Create a frame that opens a smaller frame with fields asking for a username and password.
Where applicable, exercise solutions are offered on the book's Web site at http://www.java21days.com.
Get Sams Teach Yourself Java 2 in 21 Days, Second Edition 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.