mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
6668273: Example given in java.beans.EventHandler shows incorrect order of parameters
Very simple misprint Reviewed-by: peterz, loneid
This commit is contained in:
parent
4b3a6a58b4
commit
f0fd6aa12c
1 changed files with 1 additions and 1 deletions
|
@ -636,7 +636,7 @@ public class EventHandler implements InvocationHandler {
|
|||
* 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>
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue