Try the setModel() method.

J

At 07:04 PM 3/7/2001 +0100, Jeroen Zwartepoorte wrote:
>Nope, by design, the ButtonModel (M in MVC) and JButton (C in MVC) are
>separated. JButton does know which ButtonModel to use, but ButtonModel
>doesn't know anything about it's Controller & View.
>
>Jeroen
>
>On 07 Mar 2001 18:22:02 +0100, Perico wrote:
> > Is there some way to get the JButton associated with a
> > certain ButtonModel?.
> >
> > Thanks a lot.


John Zukowski, Strategic Java Consulting
JZ Ventures, Inc. - http://www.zukowski.net/~jaz
http://www.jGuru.com -- Your view of the Java Universe
The limits of my language are the limits of my world. - Wittgenstein

_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to