--- old/src/share/classes/sun/swing/SwingAccessor.java 2013-09-04 12:42:20.287955000 +0400 +++ new/src/share/classes/sun/swing/SwingAccessor.java 2013-09-04 12:42:20.147554800 +0400 @@ -72,9 +72,24 @@ } /** + * An accessor for the sun.swing.JLightweightFrame class + */ + public interface JLightweightFrameAccessor { + + /* + * Returns the content LightweightContent for the frame + */ + LightweightContent getLightweightContent(JLightweightFrame frame); + } + + /** * The javax.swing.text.JTextComponent class accessor object. */ private static JTextComponentAccessor jtextComponentAccessor; + /** + * The sun.swing.JLightweightFrame class accessor object + */ + private static JLightweightFrameAccessor jLightweightFrameAccessor; /** * Set an accessor object for the javax.swing.text.JTextComponent class. @@ -93,4 +108,18 @@ return jtextComponentAccessor; } + + /** + * Set an accessor object for sun.swing.JLightweightFrame class + */ + public static void setJLightweightFrameAccessor(JLightweightFrameAccessor accessor) { + jLightweightFrameAccessor = accessor; + } + + /** + * Retrieve an accessor object for sun.swing.JLightweightFrame class + */ + public static JLightweightFrameAccessor getJLightweightFrameAccessor() { + return jLightweightFrameAccessor; + } }