src/jdk/nashorn/internal/runtime/resources/fx/swing.js

changeset 543
b6c7cd8b962b
parent 232
ef4c1f3aa9ed
child 952
6d5471a497fb
     1.1 --- a/src/jdk/nashorn/internal/runtime/resources/fx/swing.js	Mon Sep 09 20:10:41 2013 +0530
     1.2 +++ b/src/jdk/nashorn/internal/runtime/resources/fx/swing.js	Mon Sep 09 13:35:35 2013 -0300
     1.3 @@ -23,7 +23,8 @@
     1.4   * questions.
     1.5   */
     1.6  
     1.7 -JFXPanel        = Java.type("javafx.embed.swing.JFXPanel");
     1.8 -JFXPanelBuilder = Java.type("javafx.embed.swing.JFXPanelBuilder");
     1.9 -SwingFXUtils    = Java.type("javafx.embed.swing.SwingFXUtils");
    1.10 -SwingNode       = Java.type("javafx.embed.swing.SwingNode");
    1.11 +if (!this.JFX_BASE_CLASSES) {
    1.12 +    load("fx:base.js")
    1.13 +}
    1.14 +
    1.15 +LOAD_FX_CLASSES(JFX_SWING_CLASSES);

mercurial