6849277: Nimbus L&F: lots of painter classes were added to JDK7 as public
Reviewed-by: malenkov
--- a/jdk/src/share/classes/javax/swing/plaf/nimbus/Defaults.template Sat Jun 13 06:43:54 2009 +0900
+++ b/jdk/src/share/classes/javax/swing/plaf/nimbus/Defaults.template Mon Jun 22 18:08:50 2009 +0400
@@ -278,7 +278,7 @@
* offset (if any), and whether it is to be bold, italic, or left in its
* default form.</p>
*/
- public static final class DerivedFont implements UIDefaults.ActiveValue {
+ static final class DerivedFont implements UIDefaults.ActiveValue {
private float sizeOffset;
private Boolean bold;
private Boolean italic;
--- a/jdk/src/share/classes/javax/swing/plaf/nimbus/PainterImpl.template Sat Jun 13 06:43:54 2009 +0900
+++ b/jdk/src/share/classes/javax/swing/plaf/nimbus/PainterImpl.template Mon Jun 22 18:08:50 2009 +0400
@@ -31,7 +31,7 @@
import javax.swing.Painter;
-public final class ${PAINTER_NAME} extends AbstractRegionPainter {
+final class ${PAINTER_NAME} extends AbstractRegionPainter {
//package private integers representing the available states that
//this painter will paint. These are used when creating a new instance
//of ${PAINTER_NAME} to determine which region/state is being painted