I spent the last few hours browsing the Internet looking for examples and ideas on how to write a medium-sized GUI in java. I know a little about swing, but thatโs it. I donโt know of any other way to develop a GUI in Java than swing. If you know differently, thatโs good too. I also want to manually write a GUI to simplify integration with our game and future refactoring.
We have compiled all the business logic for the game Tic Tac Toe, which has several functions. For the GUI, you must have several windows that can be moved using simple buttons on the interface. The following is a very rude and restrained version of what I want to do:



The heart of my question is this:
How do I create a GUI using Swing and what overall design is used?
and some subsequent questions: Is there a class for each window? Am I just using setvisible to make windows show and disappear after clicking buttons?
`Are there any examples that you all know (github repos would be excellent! Happy forking!) That could show me good gui architecture / design?
source share