Skip to content

Commit 737bd2c

Browse files
authored
Update ListAction.java
Fixed a typo in the comments.
1 parent bffb2c8 commit 737bd2c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/ListAction.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Add an Action to a JList that can be invoked either by using
66
* the keyboard or a mouse.
77
*
8-
* By default the Enter will will be used to invoke the Action
8+
* By default the Enter key will will be used to invoke the Action
99
* from the keyboard although you can specify and KeyStroke you wish.
1010
*
1111
* A double click with the mouse will invoke the same Action.
@@ -84,3 +84,4 @@ public void mousePressed(MouseEvent e) {}
8484

8585
public void mouseReleased(MouseEvent e) {}
8686
}
87+

0 commit comments

Comments
 (0)