So I am making a game, and when you push the button called history, a JDialog pops up where it shows you the moves you have done. I was wondering how I would make a table on the JDialog with an ok button at the bottom it.
Example Table:
|Move| What Happened |
| 1 |A beam shot from 6 lands on 29 |
| 2 |Guess at (3,5) with a direction of \ was incorrect|
| 3 |Guess at (4,3) with a direction of / was correct |