This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 269456
Collapse All | Expand All

(-)boot-fx/src/main/java/net/java/html/boot/fx/FXBrowsers.java (-1 / +1 lines)
Lines 27-33 Link Here
27
 * Contributor(s):
27
 * Contributor(s):
28
 *
28
 *
29
 * The Original Software is NetBeans. The Initial Developer of the Original
29
 * The Original Software is NetBeans. The Initial Developer of the Original
30
 * Software is Oracle. Portions Copyright 2013-2016 Oracle. All Rights Reserved.
30
 * Software is Oracle. Portions Copyright 2013-2014 Oracle. All Rights Reserved.
31
 *
31
 *
32
 * If you wish your version of this file to be governed by only the CDDL
32
 * If you wish your version of this file to be governed by only the CDDL
33
 * or only the GPL Version 2, indicate your decision by adding
33
 * or only the GPL Version 2, indicate your decision by adding
(-)boot-fx/src/main/java/net/java/html/boot/fx/package.html (-1 / +1 lines)
Lines 28-34 Link Here
28
    Contributor(s):
28
    Contributor(s):
29
29
30
    The Original Software is NetBeans. The Initial Developer of the Original
30
    The Original Software is NetBeans. The Initial Developer of the Original
31
    Software is Oracle. Portions Copyright 2013-2016 Oracle. All Rights Reserved.
31
    Software is Oracle. Portions Copyright 2013-2014 Oracle. All Rights Reserved.
32
32
33
    If you wish your version of this file to be governed by only the CDDL
33
    If you wish your version of this file to be governed by only the CDDL
34
    or only the GPL Version 2, indicate your decision by adding
34
    or only the GPL Version 2, indicate your decision by adding
(-)boot-fx/src/main/java/org/netbeans/html/boot/fx/AbstractFXPresenter.java (-8 / +5 lines)
Lines 27-33 Link Here
27
 * Contributor(s):
27
 * Contributor(s):
28
 *
28
 *
29
 * The Original Software is NetBeans. The Initial Developer of the Original
29
 * The Original Software is NetBeans. The Initial Developer of the Original
30
 * Software is Oracle. Portions Copyright 2013-2016 Oracle. All Rights Reserved.
30
 * Software is Oracle. Portions Copyright 2013-2014 Oracle. All Rights Reserved.
31
 *
31
 *
32
 * If you wish your version of this file to be governed by only the CDDL
32
 * If you wish your version of this file to be governed by only the CDDL
33
 * or only the GPL Version 2, indicate your decision by adding
33
 * or only the GPL Version 2, indicate your decision by adding
Lines 282-296 Link Here
282
    }
282
    }
283
283
284
    @Override
284
    @Override
285
    public Object toJava(Object toJS) {
285
    public Object toJava(Object jsArray) {
286
        if (toJS instanceof Weak) {
286
        if (jsArray instanceof Weak) {
287
            toJS = ((Weak)toJS).get();
287
            jsArray = ((Weak)jsArray).get();
288
        }
288
        }
289
        if (toJS == undefined()) {
289
        return checkArray(jsArray);
290
            return null;
291
        }
290
        }
292
        return checkArray(toJS);
293
    }
294
291
295
    @Override
292
    @Override
296
    public Object toJavaScript(Object toReturn) {
293
    public Object toJavaScript(Object toReturn) {
(-)boot-fx/src/main/java/org/netbeans/html/boot/fx/Dbgr.java (-1 / +1 lines)
Lines 27-33 Link Here
27
 * Contributor(s):
27
 * Contributor(s):
28
 *
28
 *
29
 * The Original Software is NetBeans. The Initial Developer of the Original
29
 * The Original Software is NetBeans. The Initial Developer of the Original
30
 * Software is Oracle. Portions Copyright 2013-2016 Oracle. All Rights Reserved.
30
 * Software is Oracle. Portions Copyright 2013-2014 Oracle. All Rights Reserved.
31
 *
31
 *
32
 * If you wish your version of this file to be governed by only the CDDL
32
 * If you wish your version of this file to be governed by only the CDDL
33
 * or only the GPL Version 2, indicate your decision by adding
33
 * or only the GPL Version 2, indicate your decision by adding
(-)boot-fx/src/main/java/org/netbeans/html/boot/fx/FXBrwsr.java (-1 / +14 lines)
Lines 27-33 Link Here
27
 * Contributor(s):
27
 * Contributor(s):
28
 *
28
 *
29
 * The Original Software is NetBeans. The Initial Developer of the Original
29
 * The Original Software is NetBeans. The Initial Developer of the Original
30
 * Software is Oracle. Portions Copyright 2013-2016 Oracle. All Rights Reserved.
30
 * Software is Oracle. Portions Copyright 2013-2014 Oracle. All Rights Reserved.
31
 *
31
 *
32
 * If you wish your version of this file to be governed by only the CDDL
32
 * If you wish your version of this file to be governed by only the CDDL
33
 * or only the GPL Version 2, indicate your decision by adding
33
 * or only the GPL Version 2, indicate your decision by adding
Lines 66-77 Link Here
66
import javafx.scene.layout.HBox;
66
import javafx.scene.layout.HBox;
67
import javafx.scene.layout.VBox;
67
import javafx.scene.layout.VBox;
68
import javafx.scene.text.Text;
68
import javafx.scene.text.Text;
69
import javafx.scene.web.PopupFeatures;
69
import javafx.scene.web.PromptData;
70
import javafx.scene.web.PromptData;
71
import javafx.scene.web.WebEngine;
70
import javafx.scene.web.WebEvent;
72
import javafx.scene.web.WebEvent;
71
import javafx.scene.web.WebView;
73
import javafx.scene.web.WebView;
72
import javafx.stage.Modality;
74
import javafx.stage.Modality;
73
import javafx.stage.Screen;
75
import javafx.stage.Screen;
74
import javafx.stage.Stage;
76
import javafx.stage.Stage;
77
import javafx.stage.StageStyle;
75
import javafx.stage.Window;
78
import javafx.stage.Window;
76
import javafx.stage.WindowEvent;
79
import javafx.stage.WindowEvent;
77
import javafx.util.Callback;
80
import javafx.util.Callback;
Lines 393-399 Link Here
393
                return res[0] ? line.getText() : null;
396
                return res[0] ? line.getText() : null;
394
            }
397
            }
395
        });
398
        });
399
        view.getEngine().setCreatePopupHandler(new Callback<PopupFeatures, WebEngine>() {
400
            @Override
401
            public WebEngine call(PopupFeatures param) {
402
                final Stage stage = new Stage(StageStyle.UTILITY);
403
                final WebView wv2 = new WebView();
404
                stage.setScene(new Scene(wv2));
405
                stage.show();
406
                return wv2.getEngine();
396
    }
407
    }
408
        });
409
    }
397
410
398
    static void waitFinished() {
411
    static void waitFinished() {
399
        for (;;) {
412
        for (;;) {
(-)boot-fx/src/main/java/org/netbeans/html/boot/fx/FXConsole.java (-1 / +1 lines)
Lines 27-33 Link Here
27
 * Contributor(s):
27
 * Contributor(s):
28
 *
28
 *
29
 * The Original Software is NetBeans. The Initial Developer of the Original
29
 * The Original Software is NetBeans. The Initial Developer of the Original
30
 * Software is Oracle. Portions Copyright 2013-2016 Oracle. All Rights Reserved.
30
 * Software is Oracle. Portions Copyright 2013-2014 Oracle. All Rights Reserved.
31
 *
31
 *
32
 * If you wish your version of this file to be governed by only the CDDL
32
 * If you wish your version of this file to be governed by only the CDDL
33
 * or only the GPL Version 2, indicate your decision by adding
33
 * or only the GPL Version 2, indicate your decision by adding
(-)boot-fx/src/main/java/org/netbeans/html/boot/fx/FXInspect.java (-1 / +1 lines)
Lines 27-33 Link Here
27
 * Contributor(s):
27
 * Contributor(s):
28
 *
28
 *
29
 * The Original Software is NetBeans. The Initial Developer of the Original
29
 * The Original Software is NetBeans. The Initial Developer of the Original
30
 * Software is Oracle. Portions Copyright 2013-2016 Oracle. All Rights Reserved.
30
 * Software is Oracle. Portions Copyright 2013-2014 Oracle. All Rights Reserved.
31
 *
31
 *
32
 * If you wish your version of this file to be governed by only the CDDL
32
 * If you wish your version of this file to be governed by only the CDDL
33
 * or only the GPL Version 2, indicate your decision by adding
33
 * or only the GPL Version 2, indicate your decision by adding
(-)boot-fx/src/main/java/org/netbeans/html/boot/fx/FXPresenter.java (-1 / +1 lines)
Lines 27-33 Link Here
27
 * Contributor(s):
27
 * Contributor(s):
28
 *
28
 *
29
 * The Original Software is NetBeans. The Initial Developer of the Original
29
 * The Original Software is NetBeans. The Initial Developer of the Original
30
 * Software is Oracle. Portions Copyright 2013-2016 Oracle. All Rights Reserved.
30
 * Software is Oracle. Portions Copyright 2013-2014 Oracle. All Rights Reserved.
31
 *
31
 *
32
 * If you wish your version of this file to be governed by only the CDDL
32
 * If you wish your version of this file to be governed by only the CDDL
33
 * or only the GPL Version 2, indicate your decision by adding
33
 * or only the GPL Version 2, indicate your decision by adding
(-)boot-fx/src/main/java/org/netbeans/html/boot/fx/FXToolbar.java (-1 / +1 lines)
Lines 27-33 Link Here
27
 * Contributor(s):
27
 * Contributor(s):
28
 *
28
 *
29
 * The Original Software is NetBeans. The Initial Developer of the Original
29
 * The Original Software is NetBeans. The Initial Developer of the Original
30
 * Software is Oracle. Portions Copyright 2013-2016 Oracle. All Rights Reserved.
30
 * Software is Oracle. Portions Copyright 2013-2014 Oracle. All Rights Reserved.
31
 *
31
 *
32
 * If you wish your version of this file to be governed by only the CDDL
32
 * If you wish your version of this file to be governed by only the CDDL
33
 * or only the GPL Version 2, indicate your decision by adding
33
 * or only the GPL Version 2, indicate your decision by adding
(-)boot-fx/src/main/java/org/netbeans/html/boot/fx/WatchDir.java (-1 / +1 lines)
Lines 27-33 Link Here
27
 * Contributor(s):
27
 * Contributor(s):
28
 *
28
 *
29
 * The Original Software is NetBeans. The Initial Developer of the Original
29
 * The Original Software is NetBeans. The Initial Developer of the Original
30
 * Software is Oracle. Portions Copyright 2013-2016 Oracle. All Rights Reserved.
30
 * Software is Oracle. Portions Copyright 2013-2014 Oracle. All Rights Reserved.
31
 *
31
 *
32
 * If you wish your version of this file to be governed by only the CDDL
32
 * If you wish your version of this file to be governed by only the CDDL
33
 * or only the GPL Version 2, indicate your decision by adding
33
 * or only the GPL Version 2, indicate your decision by adding
(-)boot-fx/src/main/resources/org/netbeans/html/boot/fx/Bundle.properties (-1 / +1 lines)
Lines 27-33 Link Here
27
# Contributor(s):
27
# Contributor(s):
28
#
28
#
29
# The Original Software is NetBeans. The Initial Developer of the Original
29
# The Original Software is NetBeans. The Initial Developer of the Original
30
# Software is Oracle. Portions Copyright 2013-2016 Oracle. All Rights Reserved.
30
# Software is Oracle. Portions Copyright 2013-2014 Oracle. All Rights Reserved.
31
#
31
#
32
# If you wish your version of this file to be governed by only the CDDL
32
# If you wish your version of this file to be governed by only the CDDL
33
# or only the GPL Version 2, indicate your decision by adding
33
# or only the GPL Version 2, indicate your decision by adding
(-)boot-fx/src/test/java/net/java/html/boot/fx/FXBrowsersOnResourceTest.java (-1 / +1 lines)
Lines 27-33 Link Here
27
 * Contributor(s):
27
 * Contributor(s):
28
 *
28
 *
29
 * The Original Software is NetBeans. The Initial Developer of the Original
29
 * The Original Software is NetBeans. The Initial Developer of the Original
30
 * Software is Oracle. Portions Copyright 2013-2016 Oracle. All Rights Reserved.
30
 * Software is Oracle. Portions Copyright 2013-2014 Oracle. All Rights Reserved.
31
 *
31
 *
32
 * If you wish your version of this file to be governed by only the CDDL
32
 * If you wish your version of this file to be governed by only the CDDL
33
 * or only the GPL Version 2, indicate your decision by adding
33
 * or only the GPL Version 2, indicate your decision by adding
(-)boot-fx/src/test/java/net/java/html/boot/fx/FXBrowsersTest.java (-1 / +1 lines)
Lines 27-33 Link Here
27
 * Contributor(s):
27
 * Contributor(s):
28
 *
28
 *
29
 * The Original Software is NetBeans. The Initial Developer of the Original
29
 * The Original Software is NetBeans. The Initial Developer of the Original
30
 * Software is Oracle. Portions Copyright 2013-2016 Oracle. All Rights Reserved.
30
 * Software is Oracle. Portions Copyright 2013-2014 Oracle. All Rights Reserved.
31
 *
31
 *
32
 * If you wish your version of this file to be governed by only the CDDL
32
 * If you wish your version of this file to be governed by only the CDDL
33
 * or only the GPL Version 2, indicate your decision by adding
33
 * or only the GPL Version 2, indicate your decision by adding
(-)boot-fx/src/test/java/org/netbeans/html/boot/fx/FXBrwsrTest.java (-1 / +1 lines)
Lines 27-33 Link Here
27
 * Contributor(s):
27
 * Contributor(s):
28
 *
28
 *
29
 * The Original Software is NetBeans. The Initial Developer of the Original
29
 * The Original Software is NetBeans. The Initial Developer of the Original
30
 * Software is Oracle. Portions Copyright 2013-2016 Oracle. All Rights Reserved.
30
 * Software is Oracle. Portions Copyright 2013-2014 Oracle. All Rights Reserved.
31
 *
31
 *
32
 * If you wish your version of this file to be governed by only the CDDL
32
 * If you wish your version of this file to be governed by only the CDDL
33
 * or only the GPL Version 2, indicate your decision by adding
33
 * or only the GPL Version 2, indicate your decision by adding
(-)boot-fx/src/test/java/org/netbeans/html/boot/fx/FXJavaScriptTest.java (-1 / +1 lines)
Lines 27-33 Link Here
27
 * Contributor(s):
27
 * Contributor(s):
28
 *
28
 *
29
 * The Original Software is NetBeans. The Initial Developer of the Original
29
 * The Original Software is NetBeans. The Initial Developer of the Original
30
 * Software is Oracle. Portions Copyright 2013-2016 Oracle. All Rights Reserved.
30
 * Software is Oracle. Portions Copyright 2013-2014 Oracle. All Rights Reserved.
31
 *
31
 *
32
 * If you wish your version of this file to be governed by only the CDDL
32
 * If you wish your version of this file to be governed by only the CDDL
33
 * or only the GPL Version 2, indicate your decision by adding
33
 * or only the GPL Version 2, indicate your decision by adding
(-)boot-fx/src/test/java/org/netbeans/html/boot/fx/FXPresenterTst.java (-1 / +1 lines)
Lines 27-33 Link Here
27
 * Contributor(s):
27
 * Contributor(s):
28
 *
28
 *
29
 * The Original Software is NetBeans. The Initial Developer of the Original
29
 * The Original Software is NetBeans. The Initial Developer of the Original
30
 * Software is Oracle. Portions Copyright 2013-2016 Oracle. All Rights Reserved.
30
 * Software is Oracle. Portions Copyright 2013-2014 Oracle. All Rights Reserved.
31
 *
31
 *
32
 * If you wish your version of this file to be governed by only the CDDL
32
 * If you wish your version of this file to be governed by only the CDDL
33
 * or only the GPL Version 2, indicate your decision by adding
33
 * or only the GPL Version 2, indicate your decision by adding
(-)boot-fx/src/test/java/org/netbeans/html/boot/fx/FxJavaScriptTst.java (-1 / +1 lines)
Lines 27-33 Link Here
27
 * Contributor(s):
27
 * Contributor(s):
28
 *
28
 *
29
 * The Original Software is NetBeans. The Initial Developer of the Original
29
 * The Original Software is NetBeans. The Initial Developer of the Original
30
 * Software is Oracle. Portions Copyright 2013-2016 Oracle. All Rights Reserved.
30
 * Software is Oracle. Portions Copyright 2013-2014 Oracle. All Rights Reserved.
31
 *
31
 *
32
 * If you wish your version of this file to be governed by only the CDDL
32
 * If you wish your version of this file to be governed by only the CDDL
33
 * or only the GPL Version 2, indicate your decision by adding
33
 * or only the GPL Version 2, indicate your decision by adding
(-)boot-fx/src/test/java/org/netbeans/html/boot/fx/KOFx.java (-1 / +1 lines)
Lines 27-33 Link Here
27
 * Contributor(s):
27
 * Contributor(s):
28
 *
28
 *
29
 * The Original Software is NetBeans. The Initial Developer of the Original
29
 * The Original Software is NetBeans. The Initial Developer of the Original
30
 * Software is Oracle. Portions Copyright 2013-2016 Oracle. All Rights Reserved.
30
 * Software is Oracle. Portions Copyright 2013-2014 Oracle. All Rights Reserved.
31
 *
31
 *
32
 * If you wish your version of this file to be governed by only the CDDL
32
 * If you wish your version of this file to be governed by only the CDDL
33
 * or only the GPL Version 2, indicate your decision by adding
33
 * or only the GPL Version 2, indicate your decision by adding
(-)boot-fx/src/test/java/org/netbeans/html/boot/fx/ReloadTest.java (-1 / +1 lines)
Lines 27-33 Link Here
27
 * Contributor(s):
27
 * Contributor(s):
28
 *
28
 *
29
 * The Original Software is NetBeans. The Initial Developer of the Original
29
 * The Original Software is NetBeans. The Initial Developer of the Original
30
 * Software is Oracle. Portions Copyright 2013-2016 Oracle. All Rights Reserved.
30
 * Software is Oracle. Portions Copyright 2013-2014 Oracle. All Rights Reserved.
31
 *
31
 *
32
 * If you wish your version of this file to be governed by only the CDDL
32
 * If you wish your version of this file to be governed by only the CDDL
33
 * or only the GPL Version 2, indicate your decision by adding
33
 * or only the GPL Version 2, indicate your decision by adding
(-)boot-fx/src/test/java/org/netbeans/html/boot/fx/TestingProvider.java (-1 / +1 lines)
Lines 27-33 Link Here
27
 * Contributor(s):
27
 * Contributor(s):
28
 *
28
 *
29
 * The Original Software is NetBeans. The Initial Developer of the Original
29
 * The Original Software is NetBeans. The Initial Developer of the Original
30
 * Software is Oracle. Portions Copyright 2013-2016 Oracle. All Rights Reserved.
30
 * Software is Oracle. Portions Copyright 2013-2014 Oracle. All Rights Reserved.
31
 *
31
 *
32
 * If you wish your version of this file to be governed by only the CDDL
32
 * If you wish your version of this file to be governed by only the CDDL
33
 * or only the GPL Version 2, indicate your decision by adding
33
 * or only the GPL Version 2, indicate your decision by adding
(-)boot-fx/src/test/java/org/netbeans/html/boot/fx/TitleTest.java (-1 / +1 lines)
Lines 27-33 Link Here
27
 * Contributor(s):
27
 * Contributor(s):
28
 *
28
 *
29
 * The Original Software is NetBeans. The Initial Developer of the Original
29
 * The Original Software is NetBeans. The Initial Developer of the Original
30
 * Software is Oracle. Portions Copyright 2013-2016 Oracle. All Rights Reserved.
30
 * Software is Oracle. Portions Copyright 2013-2014 Oracle. All Rights Reserved.
31
 *
31
 *
32
 * If you wish your version of this file to be governed by only the CDDL
32
 * If you wish your version of this file to be governed by only the CDDL
33
 * or only the GPL Version 2, indicate your decision by adding
33
 * or only the GPL Version 2, indicate your decision by adding
(-)boot-fx/src/test/java/org/sample/app/pkg/SampleApp.java (-1 / +1 lines)
Lines 27-33 Link Here
27
 * Contributor(s):
27
 * Contributor(s):
28
 *
28
 *
29
 * The Original Software is NetBeans. The Initial Developer of the Original
29
 * The Original Software is NetBeans. The Initial Developer of the Original
30
 * Software is Oracle. Portions Copyright 2013-2016 Oracle. All Rights Reserved.
30
 * Software is Oracle. Portions Copyright 2013-2014 Oracle. All Rights Reserved.
31
 *
31
 *
32
 * If you wish your version of this file to be governed by only the CDDL
32
 * If you wish your version of this file to be governed by only the CDDL
33
 * or only the GPL Version 2, indicate your decision by adding
33
 * or only the GPL Version 2, indicate your decision by adding
(-)boot-fx/src/test/resources/net/java/html/boot/fx/wnd.js (-1 / +1 lines)
Lines 27-33 Link Here
27
 * Contributor(s):
27
 * Contributor(s):
28
 *
28
 *
29
 * The Original Software is NetBeans. The Initial Developer of the Original
29
 * The Original Software is NetBeans. The Initial Developer of the Original
30
 * Software is Oracle. Portions Copyright 2013-2016 Oracle. All Rights Reserved.
30
 * Software is Oracle. Portions Copyright 2013-2014 Oracle. All Rights Reserved.
31
 *
31
 *
32
 * If you wish your version of this file to be governed by only the CDDL
32
 * If you wish your version of this file to be governed by only the CDDL
33
 * or only the GPL Version 2, indicate your decision by adding
33
 * or only the GPL Version 2, indicate your decision by adding
(-)boot-fx/src/test/resources/org/netbeans/html/boot/fx/empty.html (-1 / +1 lines)
Lines 28-34 Link Here
28
    Contributor(s):
28
    Contributor(s):
29
29
30
    The Original Software is NetBeans. The Initial Developer of the Original
30
    The Original Software is NetBeans. The Initial Developer of the Original
31
    Software is Oracle. Portions Copyright 2013-2016 Oracle. All Rights Reserved.
31
    Software is Oracle. Portions Copyright 2013-2014 Oracle. All Rights Reserved.
32
32
33
    If you wish your version of this file to be governed by only the CDDL
33
    If you wish your version of this file to be governed by only the CDDL
34
    or only the GPL Version 2, indicate your decision by adding
34
    or only the GPL Version 2, indicate your decision by adding

Return to bug 269456