Skip to content
Permalink
Browse files
8201538: Remove implementation support for applets from JavaFX
Reviewed-by: mstrauss, aghaisas, jvos
  • Loading branch information
kevinrushforth committed Dec 10, 2021
1 parent 85b8e96 commit 4f9b047b8301ee3580588dd34ab809f5c6c4c193
Showing with 116 additions and 3,392 deletions.
  1. +0 −200 modules/javafx.graphics/src/main/java/com/sun/glass/events/mac/NpapiEvent.java
  2. +0 −2 modules/javafx.graphics/src/main/java/com/sun/glass/ui/Application.java
  3. +2 −8 modules/javafx.graphics/src/main/java/com/sun/glass/ui/View.java
  4. +1 −89 modules/javafx.graphics/src/main/java/com/sun/glass/ui/Window.java
  5. +0 −5 modules/javafx.graphics/src/main/java/com/sun/glass/ui/gtk/GtkApplication.java
  6. +0 −101 modules/javafx.graphics/src/main/java/com/sun/glass/ui/gtk/GtkChildWindow.java
  7. +0 −13 modules/javafx.graphics/src/main/java/com/sun/glass/ui/gtk/GtkWindow.java
  8. +0 −8 modules/javafx.graphics/src/main/java/com/sun/glass/ui/ios/IosApplication.java
  9. +0 −16 modules/javafx.graphics/src/main/java/com/sun/glass/ui/ios/IosWindow.java
  10. +0 −16 modules/javafx.graphics/src/main/java/com/sun/glass/ui/mac/MacApplication.java
  11. +0 −12 modules/javafx.graphics/src/main/java/com/sun/glass/ui/mac/MacView.java
  12. +0 −13 modules/javafx.graphics/src/main/java/com/sun/glass/ui/mac/MacWindow.java
  13. +0 −5 modules/javafx.graphics/src/main/java/com/sun/glass/ui/monocle/MonocleApplication.java
  14. +0 −16 modules/javafx.graphics/src/main/java/com/sun/glass/ui/monocle/MonocleWindow.java
  15. +0 −4 modules/javafx.graphics/src/main/java/com/sun/glass/ui/win/WinApplication.java
  16. +0 −56 modules/javafx.graphics/src/main/java/com/sun/glass/ui/win/WinChildWindow.java
  17. +0 −10 modules/javafx.graphics/src/main/java/com/sun/glass/ui/win/WinWindow.java
  18. +1 −1 modules/javafx.graphics/src/main/java/com/sun/glass/utils/NativeLibLoader.java
  19. +1 −1 modules/javafx.graphics/src/main/java/com/sun/javafx/application/ParametersImpl.java
  20. +1 −1 modules/javafx.graphics/src/main/java/com/sun/javafx/css/StyleManager.java
  21. +2 −8 modules/javafx.graphics/src/main/java/com/sun/javafx/font/PrismFontFactory.java
  22. +0 −66 modules/javafx.graphics/src/main/java/com/sun/javafx/tk/AppletWindow.java
  23. +0 −10 modules/javafx.graphics/src/main/java/com/sun/javafx/tk/DummyToolkit.java
  24. +3 −19 modules/javafx.graphics/src/main/java/com/sun/javafx/tk/Toolkit.java
  25. +0 −196 modules/javafx.graphics/src/main/java/com/sun/javafx/tk/quantum/GlassAppletWindow.java
  26. +2 −2 modules/javafx.graphics/src/main/java/com/sun/javafx/tk/quantum/GlassViewEventHandler.java
  27. +5 −7 modules/javafx.graphics/src/main/java/com/sun/javafx/tk/quantum/PerformanceLogger.java
  28. +0 −17 modules/javafx.graphics/src/main/java/com/sun/javafx/tk/quantum/QuantumToolkit.java
  29. +60 −97 modules/javafx.graphics/src/main/java/com/sun/javafx/tk/quantum/WindowStage.java
  30. +1 −2 modules/javafx.graphics/src/main/java/javafx/concurrent/Service.java
  31. +2 −2 modules/javafx.graphics/src/main/java/javafx/css/CssParser.java
  32. +0 −9 modules/javafx.graphics/src/main/native-glass/gtk/GlassApplication.cpp
  33. +0 −77 modules/javafx.graphics/src/main/native-glass/gtk/GlassWindow.cpp
  34. +0 −424 modules/javafx.graphics/src/main/native-glass/gtk/glass_window.cpp
  35. +0 −99 modules/javafx.graphics/src/main/native-glass/gtk/glass_window.h
  36. +0 −13 modules/javafx.graphics/src/main/native-glass/ios/GlassWindow.m
  37. +0 −35 modules/javafx.graphics/src/main/native-glass/mac/GlassApplication.m
  38. +0 −35 modules/javafx.graphics/src/main/native-glass/mac/GlassEmbeddedWindow+Npapi.h
  39. +0 −331 modules/javafx.graphics/src/main/native-glass/mac/GlassEmbeddedWindow+Npapi.m
  40. +0 −35 modules/javafx.graphics/src/main/native-glass/mac/GlassEmbeddedWindow+Overrides.h
  41. +0 −232 modules/javafx.graphics/src/main/native-glass/mac/GlassEmbeddedWindow+Overrides.m
  42. +0 −7 modules/javafx.graphics/src/main/native-glass/mac/GlassLayer3D.h
  43. +0 −63 modules/javafx.graphics/src/main/native-glass/mac/GlassLayer3D.m
  44. +0 −39 modules/javafx.graphics/src/main/native-glass/mac/GlassNSEvent.h
  45. +0 −50 modules/javafx.graphics/src/main/native-glass/mac/GlassNSEvent.m
  46. +0 −5 modules/javafx.graphics/src/main/native-glass/mac/GlassView.h
  47. +0 −51 modules/javafx.graphics/src/main/native-glass/mac/GlassView.m
  48. +0 −30 modules/javafx.graphics/src/main/native-glass/mac/GlassView3D+Remote.h
  49. +0 −44 modules/javafx.graphics/src/main/native-glass/mac/GlassView3D+Remote.m
  50. +8 −150 modules/javafx.graphics/src/main/native-glass/mac/GlassViewDelegate.m
  51. +1 −1 modules/javafx.graphics/src/main/native-glass/mac/GlassWindow+Java.h
  52. +10 −23 modules/javafx.graphics/src/main/native-glass/mac/GlassWindow+Java.m
  53. +0 −25 modules/javafx.graphics/src/main/native-glass/mac/GlassWindow.h
  54. +7 −208 modules/javafx.graphics/src/main/native-glass/mac/GlassWindow.m
  55. +0 −39 modules/javafx.graphics/src/main/native-glass/mac/RemoteLayerSupport.h
  56. +0 −147 modules/javafx.graphics/src/main/native-glass/mac/RemoteLayerSupport.m
  57. +0 −47 modules/javafx.graphics/src/main/native-glass/win/GlassApplication.cpp
  58. +0 −7 modules/javafx.graphics/src/main/native-glass/win/GlassApplication.h
  59. +1 −1 modules/javafx.graphics/src/main/native-glass/win/GlassView.cpp
  60. +5 −145 modules/javafx.graphics/src/main/native-glass/win/GlassWindow.cpp
  61. +1 −4 modules/javafx.graphics/src/main/native-glass/win/GlassWindow.h
  62. +0 −11 modules/javafx.graphics/src/test/java/test/com/sun/javafx/pgstub/StubToolkit.java
  63. +1 −1 modules/javafx.web/src/main/java/com/sun/webkit/network/NetworkContext.java
  64. +1 −1 modules/javafx.web/src/main/java/com/sun/webkit/network/URLs.java

This file was deleted.

@@ -583,8 +583,6 @@ public final Window createWindow(Screen screen, int styleMask) {
return createWindow(null, screen, styleMask);
}

public abstract Window createWindow(long parent);

public abstract View createView();

public abstract Cursor createCursor(int type);
@@ -453,27 +453,21 @@ public long getNativeView() {
return _getNativeView(this.ptr);
}

/** Only used on Mac when run inside a plugin */
public int getNativeRemoteLayerId(String serverName) {
Application.checkEventThread();
throw new RuntimeException("This operation is not supported on this platform");
}

public Window getWindow() {
Application.checkEventThread();
return this.window;
}

protected abstract int _getX(long ptr);
/** X coordinate relative to the host (window or applet). */
/** X coordinate relative to the host (window). */
public int getX() {
Application.checkEventThread();
checkNotClosed();
return _getX(this.ptr);
}

protected abstract int _getY(long ptr);
/** Y coordinate relative to the host (window or applet). */
/** Y coordinate relative to the host (window). */
public int getY() {
Application.checkEventThread();
checkNotClosed();

1 comment on commit 4f9b047

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 4f9b047 Dec 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.