Skip to content

Commit cc62887

Browse files
committed
re-introduces RepaintManager.addDirtyRegion(Applet,....)
1 parent 1d95ae1 commit cc62887

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sources/net.sf.j2s.java.core/src/javax/swing/RepaintManager.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
*/
2828
package javax.swing;
2929

30+
import java.applet.Applet;
3031
import java.applet.JSApplet;
3132
import java.awt.Component;
3233
import java.awt.Container;
@@ -571,6 +572,10 @@ public void addDirtyRegion(JSApplet applet, int x, int y, int w, int h) {
571572
addDirtyRegion0(applet, x, y, w, h);
572573
}
573574

575+
public void addDirtyRegion(Applet applet, int x, int y, int w, int h) {
576+
addDirtyRegion0(applet, x, y, w, h);
577+
}
578+
574579
void scheduleHeavyWeightPaints() {
575580
Map<Container, Rectangle> hws;
576581

0 commit comments

Comments
 (0)