aboutsummaryrefslogtreecommitdiff
path: root/libjava/javax/swing/plaf/basic/BasicArrowButton.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/javax/swing/plaf/basic/BasicArrowButton.java')
-rw-r--r--libjava/javax/swing/plaf/basic/BasicArrowButton.java15
1 files changed, 10 insertions, 5 deletions
diff --git a/libjava/javax/swing/plaf/basic/BasicArrowButton.java b/libjava/javax/swing/plaf/basic/BasicArrowButton.java
index f876a78..0526961 100644
--- a/libjava/javax/swing/plaf/basic/BasicArrowButton.java
+++ b/libjava/javax/swing/plaf/basic/BasicArrowButton.java
@@ -1,5 +1,5 @@
/* BasicArrowButton.java --
- Copyright (C) 2004 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -80,17 +80,22 @@ public class BasicArrowButton extends JButton implements SwingConstants
/**
* The color the arrow is painted in if disabled and the bottom and right
* edges of the button.
+ * This is package-private to avoid an accessor method.
*/
- private transient Color shadow = Color.GRAY;
+ transient Color shadow = Color.GRAY;
/**
* The color the arrow is painted in if enabled and the bottom and right
* edges of the button.
+ * This is package-private to avoid an accessor method.
*/
- private transient Color darkShadow = Color.DARK_GRAY;
+ transient Color darkShadow = Color.DARK_GRAY;
- /** The top and left edges of the button. */
- private transient Color highlight = Color.WHITE;
+ /**
+ * The top and left edges of the button.
+ * This is package-private to avoid an accessor method.
+ */
+ transient Color highlight = Color.WHITE;
/** The border around the ArrowButton. */
private transient Border buttonBorder = new Border()