PDA

View Full Version : [Java] GUI Related Question


TreeFinger
March 24th, 2008, 08:17 PM
I plan on making a card game in java. I plan for this game to have a GUI. I've never written a program as large as a card game and also have never had any experiences creating a GUI.

My question is this: While writing the code for the card game, can the GUI be added after? Will I need to be thinking about it while programming my classes, etc...?

Off topic but another question I have has to do with diagramming and java. What is the easiest way to construct some java diagrams?

mike_g
March 24th, 2008, 09:34 PM
Yeah sure you can add the GUI after. You may want to re-evaluate the design tho before you add a GUI to it tho. For example in some classes it may be best to have a class inherit properties of a GUI component as opposed to having 2 separate classes (front end and back end) that need to communicate with each other.