Re: JButton: how to control two JButton simultaneously!


2003-09-30 03:28:31 PM
jbuilder1
"Daniel Mark" < XXXX@XXXXX.COM >writes:
Quote
I want to do the code looks like this: There are two JButtons in my
program, one is jButtonA the other is jButtonB. when I press the
jButtonA, the jButtonB should be pressed(until I release jButtonA)
without firing jButtonB's actionevent.
You could set jButtonB's model's pressed property and tell it to
update itself.