(Flipping coins) Write a program that displays head (H) or tail (T) for each of nine coins, as shown in Figure 16.33. When a cell is clicked, the coin is flipped. A cell is a Jlable. Write a custom cell class that extends Jlable with the mouse listener for handling the clicks. When the program starts, all cells initially display H.
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.