summaryrefslogtreecommitdiff
path: root/java/awt/AWTKeyStroke.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/awt/AWTKeyStroke.java')
-rw-r--r--java/awt/AWTKeyStroke.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/java/awt/AWTKeyStroke.java b/java/awt/AWTKeyStroke.java
index 75abc2cd5..9848d43ef 100644
--- a/java/awt/AWTKeyStroke.java
+++ b/java/awt/AWTKeyStroke.java
@@ -150,11 +150,12 @@ public class AWTKeyStroke implements Serializable
private char keyChar;
/**
- * The virtual key code, or VK_UNDEFINED for key typed.
+ * The virtual key code, or VK_UNDEFINED for key typed. Package visible for
+ * use by Component.
*
* @serial the keyCode
*/
- private int keyCode;
+ int keyCode;
/**
* The modifiers in effect. To match Sun, this stores the old style masks