Skip to content

Commit a8ab1e9

Browse files
hansonrhansonr
authored andcommitted
JSApplet/Window alias methods
1 parent 7da9cea commit a8ab1e9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

sources/net.sf.j2s.java.core/src/java/applet/JSApplet.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
package java.applet;
2929

3030
import java.awt.Component;
31+
import java.awt.Dialog;
3132
import java.awt.Dimension;
3233
import java.awt.HeadlessException;
3334
import java.awt.Image;
@@ -97,6 +98,12 @@ public boolean isFocusableWindow() {
9798
return true;
9899
}
99100

101+
public Dialog getModalBlocker() {
102+
// mascarading as Window here
103+
return null; //??
104+
}
105+
106+
100107
/**
101108
* Holds the reference to the component which last had focus in this window
102109
* before it lost focus.

0 commit comments

Comments
 (0)