I just have a quick question regarding MVC and dialog boxes.
In a well designed MVC setup, is it better to (1) have a dialog box setup as an entirely seperate entity? Or do you (2) have it closely coupled to your main window? Specifically the controller implementing *all* action listeners for the application.
I am doing the SCJD. Currently I am doing #2 and have my action listener classes (for a JDialog) defined as inners in my controllers (of the main window).
But I'm thinking that #1 might be better, to have the JDialogs defined as entirely seperate entities, and only know about the main windows view and model.