Originally posted by jon_hh_68:
My program has completely bogged down with complicated classes and I am completely lost. Of course, due to inexperience, I did not plan properly before starting to code.
My advice is once you have your cards and interfaces worked out, choose a SMALL part of the project, and then use the existing cards to work out the BARE MINIMUM needed to get something useful working!
Anywhere you need to talk to objects later but not right now, either leave them out or put in a dummer interface/class (e.g. no working code).
Get this bit work super great, clean, commented, understandable before adding any more features.
Also if you have much going on behind the scenes in terms of modelling (for example a movie/actor/studio tracker, a car hire system, a simulation) write all the modelling code first using only System.out.println (or log4j) to give you feedback.
Once the model is working perfectly add on the GUI. There are few things worse that trying to debug the GUI and the model at the same time. This also encourages model-view-controller seperation.