diff -r d16b38ca60f1 -r 055384958326 jdk/src/share/classes/javax/swing/AbstractButton.java --- a/jdk/src/share/classes/javax/swing/AbstractButton.java Mon Nov 29 16:03:14 2010 +0300 +++ b/jdk/src/share/classes/javax/swing/AbstractButton.java Mon Nov 29 16:11:40 2010 +0300 @@ -1379,6 +1379,10 @@ * If true and the button has a border, * the border is painted. The default value for the * borderPainted property is true. + *

+ * Some look and feels might not support + * the borderPainted property, + * in which case they ignore this. * * @param b if true and border property is not null, * the border is painted