changeset 3243:562d25d284e9

6939227: Nimbus: 6597895 for JCheckBox, JButton and JToggleButton JCK tests Reviewed-by: rupashka
author alexp
date Mon, 29 Nov 2010 16:11:40 +0300
parents 54fc4039ddc8
children 602dfe45c227
files src/share/classes/javax/swing/AbstractButton.java
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/javax/swing/AbstractButton.java	Mon Nov 29 16:03:14 2010 +0300
+++ b/src/share/classes/javax/swing/AbstractButton.java	Mon Nov 29 16:11:40 2010 +0300
@@ -1379,6 +1379,10 @@
      * If <code>true</code> and the button has a border,
      * the border is painted. The default value for the
      * <code>borderPainted</code> property is <code>true</code>.
+     * <p/>
+     * Some look and feels might not support
+     * the <code>borderPainted</code> property,
+     * in which case they ignore this.
      *
      * @param b if true and border property is not <code>null</code>,
      *          the border is painted