--- old/src/share/classes/javax/swing/JViewport.java 2013-09-05 18:37:51.000000000 +0400 +++ new/src/share/classes/javax/swing/JViewport.java 2013-09-05 18:37:50.000000000 +0400 @@ -862,6 +862,10 @@ * You may want to change this mode to get maximum performance for your * use case. * + * Some scroll modes may be not supported by some window implementations. + * In this case the unsupported mode will be replaced by another one + * when the component is added to a window. + * * @param mode one of the following values: *