Skip to content

Commit 4f9b047

Browse files
8201538: Remove implementation support for applets from JavaFX
Reviewed-by: mstrauss, aghaisas, jvos
1 parent 85b8e96 commit 4f9b047

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+116
-3392
lines changed

modules/javafx.graphics/src/main/java/com/sun/glass/events/mac/NpapiEvent.java

Lines changed: 0 additions & 200 deletions
This file was deleted.

modules/javafx.graphics/src/main/java/com/sun/glass/ui/Application.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -583,8 +583,6 @@ public final Window createWindow(Screen screen, int styleMask) {
583583
return createWindow(null, screen, styleMask);
584584
}
585585

586-
public abstract Window createWindow(long parent);
587-
588586
public abstract View createView();
589587

590588
public abstract Cursor createCursor(int type);

modules/javafx.graphics/src/main/java/com/sun/glass/ui/View.java

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -453,27 +453,21 @@ public long getNativeView() {
453453
return _getNativeView(this.ptr);
454454
}
455455

456-
/** Only used on Mac when run inside a plugin */
457-
public int getNativeRemoteLayerId(String serverName) {
458-
Application.checkEventThread();
459-
throw new RuntimeException("This operation is not supported on this platform");
460-
}
461-
462456
public Window getWindow() {
463457
Application.checkEventThread();
464458
return this.window;
465459
}
466460

467461
protected abstract int _getX(long ptr);
468-
/** X coordinate relative to the host (window or applet). */
462+
/** X coordinate relative to the host (window). */
469463
public int getX() {
470464
Application.checkEventThread();
471465
checkNotClosed();
472466
return _getX(this.ptr);
473467
}
474468

475469
protected abstract int _getY(long ptr);
476-
/** Y coordinate relative to the host (window or applet). */
470+
/** Y coordinate relative to the host (window). */
477471
public int getY() {
478472
Application.checkEventThread();
479473
checkNotClosed();

0 commit comments

Comments
 (0)