I develop a lot of small apps where I work. As a result, I've switched from using gridbag in most places to using the netbeans form builder. I sometimes use grid layout, box layout and flow layout.
I've found that instead of developing a seperate controller object that I often simply double click on the button that I want to add functionality to and then I add the call to the database adapter interface from there.
Is this wrong?
Situation:
I have a Cat class and a Cat herder class and they both exist in the database. I have a view that gets the most recent cat from the database and tells me which cat herder it belongs to.
Should this button talk to an intermediary controller or is the ActionListener that fire the ActionPerformed the controller?