summaryrefslogtreecommitdiff
path: root/java/awt/MenuItem.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/awt/MenuItem.java')
-rw-r--r--java/awt/MenuItem.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/awt/MenuItem.java b/java/awt/MenuItem.java
index 3b40bd715..66c0a5f3a 100644
--- a/java/awt/MenuItem.java
+++ b/java/awt/MenuItem.java
@@ -75,7 +75,7 @@ private String actionCommand;
/**
* @serial Indicates whether or not this menu item is enabled.
*/
-private boolean enabled;
+private boolean enabled = true;
/**
* @serial The mask of events that are enabled for this menu item.