--- old/src/share/classes/sun/swing/SwingUtilities2.java 2014-01-31 11:51:05.000000000 +0400 +++ new/src/share/classes/sun/swing/SwingUtilities2.java 2014-01-31 11:51:05.000000000 +0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -1967,4 +1967,11 @@ } return path; } + + /** + * Used to listen to "blit" repaints in RepaintManager. + */ + public interface RepaintListener { + void repaintPerformed(JComponent c, int x, int y, int w, int h); + } }