--- old/src/share/classes/sun/swing/LightweightContent.java 2013-09-12 15:59:48.000000000 +0400 +++ new/src/share/classes/sun/swing/LightweightContent.java 2013-09-12 15:59:48.000000000 +0400 @@ -26,6 +26,7 @@ package sun.swing; import javax.swing.JComponent; +import java.awt.Cursor; /** * The interface by means of which the {@link JLightweightFrame} class @@ -179,4 +180,13 @@ * application that the content minimum size has changed. */ public void minimumSizeChanged(int width, int height); + + /** + * {@code JLightweightFrame} calls this method to notify the client + * application that in needs to set a cursor + * @param cursor a cursor to set + */ + default public void setCursor(Cursor cursor) { + throw new UnsupportedOperationException("Wrong client version is used"); + } }