Design help



I am a J2EE developer, and have never developed a swing application before.

So I am in a situation where I have to develop an Installation wizard which has 6 to 7 steps depending on user input. For forms designed, I used Abeille and everything seems to be okay, however I am not sure whether my design is right, by which I mean efficient, extensible and this is where I am hoping somebody help me out.

My current design is like this.

- a seperate class for each single step(I call it screen) and every class has a single anonymous class as action listener.
- Every class extend from a single abstract class, which defines look and feel and other common properties like width, height etc.
- I have a main class, which initializes these classes depending on user input and stores them in a hashmap (in case user hits back button)

Does this look okay to you? I would appreciate some feedback. Thank you.
.


Quantcast