[PATCH] Fix to ActionEvent generation on List widgets

Fernando Nasser fnasser@redhat.com
Wed Dec 3 20:23:00 GMT 2003


Tom Tromey wrote:
>>>>>>"Fernando" == Fernando Nasser <fnasser@redhat.com> writes:
> 
> 
> Fernando> 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
> Fernando> * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
> Fernando> of ActionEvents so that a return only generates one if something is
> Fernando> selected and a higher number of mouse multiple-clicks do not generate
> Fernando> a spurious ActionEvent after the expected one.
> 
> Ok.
> 
> Please put explanatory stuff in the code itself as comments.
> The ChangeLog entries can be simple descriptions of the mechanics of
> the change.
> 

Sure.  Changing ChangeLog to:

	2003-12-02  Fernando Nasser  <fnasser@redhat.com>
	* gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
	of ActionEvents.

I will put the (equivalent of) "so that a return only generates one if something 
is selected and a higher number of mouse multiple-clicks do not generate a 
spurious ActionEvent after the expected one." in a comment before checkin it in.

Thanks for the reminder.

Regards,
Fernando



More information about the Java-patches mailing list