changeset 377:e0951cd6e7b9

6668273: Example given in java.beans.EventHandler shows incorrect order of parameters Summary: Very simple misprint Reviewed-by: peterz, loneid
author malenkov
date Fri, 23 May 2008 20:14:20 +0400
parents e733eea7d585
children 5e0172d58a1c
files src/share/classes/java/beans/EventHandler.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/beans/EventHandler.java	Thu May 22 15:06:22 2008 +0400
+++ b/src/share/classes/java/beans/EventHandler.java	Fri May 23 20:14:20 2008 +0400
@@ -636,7 +636,7 @@
      * time a mouse button is pressed, one would write:
      *<blockquote>
      *<pre>
-     *EventHandler.create(MouseListener.class, "mousePressed", target, "origin", "point");
+     *EventHandler.create(MouseListener.class, target, "origin", "point", "mousePressed");
      *</pre>
      *</blockquote>
      *