提交 33365e6d 编写于 作者: M malenkov

6668273: Example given in java.beans.EventHandler shows incorrect order of parameters

Summary: Very simple misprint
Reviewed-by: peterz, loneid
上级 fe3aa074
...@@ -636,7 +636,7 @@ public class EventHandler implements InvocationHandler { ...@@ -636,7 +636,7 @@ public class EventHandler implements InvocationHandler {
* time a mouse button is pressed, one would write: * time a mouse button is pressed, one would write:
*<blockquote> *<blockquote>
*<pre> *<pre>
*EventHandler.create(MouseListener.class, "mousePressed", target, "origin", "point"); *EventHandler.create(MouseListener.class, target, "origin", "point", "mousePressed");
*</pre> *</pre>
*</blockquote> *</blockquote>
* *
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册