Skip to content

Commit be7d075

Browse files
hansonrhansonr
authored andcommitted
Removing JSInterface.startHoverWatcher
1 parent 7f622b4 commit be7d075

File tree

3 files changed

+1
-12
lines changed

3 files changed

+1
-12
lines changed

sources/net.sf.j2s.java.core/src/swingjs/JSFrameViewer.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -161,12 +161,6 @@ public boolean setStatusDragDropped(int mode, int x, int y, String fileName) {
161161
return false;
162162
}
163163

164-
@Override
165-
public void startHoverWatcher(boolean enable) {
166-
// TODO Auto-generated method stub
167-
168-
}
169-
170164
public Graphics getGraphics() {
171165
return getGraphics(0, 0, top);
172166
}

sources/net.sf.j2s.java.core/src/swingjs/api/js/JSInterface.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ public interface JSInterface {
2525
void setScreenDimension(int width, int height);
2626

2727
boolean setStatusDragDropped(int mode, int x, int y, String fileName);
28-
29-
void startHoverWatcher(boolean enable);
30-
28+
3129
static void setCursor(String c) {
3230
/**
3331
* @j2sNative

sources/net.sf.j2s.java.core/srcjs/js/j2sApplet.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1949,9 +1949,6 @@ if (ev.keyCode == 9 && ev.target["data-focuscomponent"]) {
19491949
if (ev.target.getAttribute("role")) {
19501950
return true;
19511951
}
1952-
1953-
if (who.applet._appletPanel)
1954-
who.applet._appletPanel.startHoverWatcher$Z(true);
19551952
if (J2S._mouseOwner && !J2S._mouseOwner.isDragging)
19561953
J2S.setMouseOwner(null);
19571954
var xym = getXY(who, ev, 0);

0 commit comments

Comments
 (0)