What is an elegant way to add an action to a button? Currently I pass the controller to the view's constructor so that the view can access all of the controller's actions, but it seems kind of messy to have the controller and view contain references to each other.
Is there a better way?
[ August 03, 2006: Message edited by: Roy Mallard ]
SCJP 1.4<br />SCJD
posted 11 years ago
Moving to our Swing forum. Please keep specifically to SCJD topics in this Forum. Thanks. -Barry