Re: [PATCH] fixes to swing button implementation

2004-01-27 Thread graydon hoare
Sascha Brawer wrote: But probably, it would best tp use javax.swing.event.EventListenerList here (which, by coincidence, became functional this afternoon...). I'm using this now. Weird. From looking at the J2SE 1.4.2 API specification, I would expect: protected int stateMask; // e.g. ARMED

Re: [PATCH] fixes to swing button implementation

2004-01-07 Thread Sascha Brawer
Michael Koch [EMAIL PROTECTED] wrote on Tue, 6 Jan 2004 22:27:25 +0100: graydon+ // ChangeEvents are not AWTEvents, can't use multicaster graydon+ Vector changeListeners = new Vector (); Sascha it probably would be advisable to use Sascha javax.swing.event.EventListenerList instead of Vector.

Re: [PATCH] fixes to swing button implementation

2004-01-07 Thread Michael Koch
On Wed, Jan 07, 2004 at 08:04:22AM +0100, Sascha Brawer wrote: Michael Koch [EMAIL PROTECTED] wrote on Tue, 6 Jan 2004 22:27:25 +0100: graydon+ // ChangeEvents are not AWTEvents, can't use multicaster graydon+ Vector changeListeners = new Vector (); Sascha it probably would be advisable