Sample JFrame Handson Exam
Write a Java frame that displays a car radio interface.
The interface should have a slot for a cassette tape and an LCD panel
(use JTextArea objects for these components).
It also includes power, play, stop, forward, reverse, and seek buttons.
Finally, it should have a numeric panel for favorite radio channels.
The different components should be laid out as follows.
Try to keep as close to its appearance as possible.
The yellow region at the bottom of the frame containing
your name is required.
Some minimum functionality is required for this GUI:
when you click on "Play", the message "PLAY" should
appear on the LCD panel; when you click on "Stop",
the message "STOP" should display on the panel.
Here are some dimensions for the GUI given above
that may help you with this handson exam:
Frame design is worth 80 points, while button functionality 20 points.
- height=175, width=350
- cassette slot is 2 by 30 characters
- LCD panel is 2 by 15 characters