MVC and Swing

From: charly (kanarispam666_at_yahoo.fr)
Date: 12/28/03


Date: Sun, 28 Dec 2003 12:39:35 +0100

Greetings,

I am developping a small swing app with database connection, where you
can add- remove records and the usual stuff.

I got 2 classees : one controller and human-interface (actually, she
holds the frame, buttons ...) -> HIM
HIM has an instance of the controller and each item of the gui has a
listener which call the requierd methods of the controller.

Question :

Would it be more elegant/efficient if each event would complete the
event with other infos and then "push" the modified object to the
controller who would then inspect this object and would call its methods
  himself ?

for the time being, I directly call the methods in the GUI but well, I
do not find this "pretty" . Apart from aesthetic considerations :), what
is your advice ? :)

many thx for your input :)