I've looked over Sun's tutorials and just bought the book "graphic
Java 2" by David Geary.
What I am really looking for are some examples on how to architect Swing applications. Basically all the tutorials and sample code usually deal with small bits of information. What I'm wanting are some tips on how to best design a real application.
To start with I'm trying to mess around developing a simple application that will allow the user to display contact information in a JTable and then create a "New" contact list. Edit the list, Save, Load etc.
As I started this work I found I was putting everything into one class file. This doesn't seem very object oriented to me, but I'm wondering what is normally seperated out into other class files. In other words are their typical architectural considerations to keep in mind. For example, should I make each listener a seperate class file or is it best to keep them all together iniside of another class?
I'm also familiar with MVC architecture but all the examples I see of it relation to Swing are dealing with it on the pluggable look and feel end. Are there good examples of MVC being used for a small Swing application that I could study?
I'm comfortable dealing with Java when it comes to
JSP and
Servlets and web based architecture but this Swing stuff is all new. Thanks for any direction some could give me.
Rick