Define a JFrame subclass that has four vertically aligned buttons. The labels for the four buttons are Senior, Junior, Sophomore, and Freshman.
This is one possible layout:
When a button is clicked, display a message that identifies which button is clicked, using JOptionPane.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.