after reading about the "Passive View" pattern in "JUnit in Action", I tried to follow it in my GUI part. So, I have the ActionListeners in the controller, not in the view, and whenever the controller needs input data, it asks the view for it explicitly.
However, I'm not really sure that what I implemented actually IS a Passive View... Even though all actions are taken in the controller, there is a connection between the view and the model - the JTable is part of the view, and it has a TableModel. So, I have the following code in the controller:
Does this relationship between table and TableModel already break the pattern?
I must also admit that it's my first experience with GUI programming (making the Swing part quite cumbersome anyway...), and though I've tried reading the articles on "GUI Architecture", "Passive View", "Supervising Controller" etc. on the Martin Fowler website, these things do not really get clear to me
Thanks a lot for any hints,