In theory, what is the best way to break down a Java program into appropriate
classes? For example, I hava a small GUI based program, One book I've read
shows creating one class for the complete program. Another book I have shows
breaking this type of program into seperate classes for the Gui, actionPerformed
for each type of GUI object, the closing method, and a seperate main() class.
In the "Real programming world", how is this to be done?