1 /*
2 * Copyright (c) 2010, 2017, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
31 import javafx.collections.FXCollections;
32 import javafx.collections.ListChangeListener.Change;
33 import javafx.collections.ObservableList;
34 import javafx.css.CssParser;
35 import javafx.css.FontFace;
36 import javafx.css.PseudoClass;
37 import javafx.css.Rule;
38 import javafx.css.Selector;
39 import javafx.css.StyleOrigin;
40 import javafx.css.Styleable;
41 import javafx.css.StyleConverter;
42 import javafx.css.Stylesheet;
43 import javafx.scene.Node;
44 import javafx.scene.Parent;
45 import javafx.scene.Scene;
46 import javafx.scene.SubScene;
47 import javafx.scene.image.Image;
48 import javafx.scene.layout.Region;
49 import javafx.scene.text.Font;
50 import javafx.stage.Window;
51 import sun.util.logging.PlatformLogger;
52 import sun.util.logging.PlatformLogger.Level;
53
54 import java.io.FileNotFoundException;
55 import java.io.FilePermission;
56 import java.io.IOException;
57 import java.io.InputStream;
58 import java.lang.ref.Reference;
59 import java.lang.ref.SoftReference;
60 import java.lang.ref.WeakReference;
61 import java.lang.reflect.InvocationTargetException;
62 import java.lang.reflect.Method;
63 import java.net.MalformedURLException;
64 import java.net.URI;
65 import java.net.URISyntaxException;
66 import java.net.URL;
67 import java.security.AccessControlContext;
68 import java.security.AccessController;
69 import java.security.DigestInputStream;
70 import java.security.MessageDigest;
71 import java.security.NoSuchAlgorithmException;
72 import java.security.PermissionCollection;
|
1 /*
2 * Copyright (c) 2010, 2018, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
31 import javafx.collections.FXCollections;
32 import javafx.collections.ListChangeListener.Change;
33 import javafx.collections.ObservableList;
34 import javafx.css.CssParser;
35 import javafx.css.FontFace;
36 import javafx.css.PseudoClass;
37 import javafx.css.Rule;
38 import javafx.css.Selector;
39 import javafx.css.StyleOrigin;
40 import javafx.css.Styleable;
41 import javafx.css.StyleConverter;
42 import javafx.css.Stylesheet;
43 import javafx.scene.Node;
44 import javafx.scene.Parent;
45 import javafx.scene.Scene;
46 import javafx.scene.SubScene;
47 import javafx.scene.image.Image;
48 import javafx.scene.layout.Region;
49 import javafx.scene.text.Font;
50 import javafx.stage.Window;
51 import com.sun.javafx.logging.PlatformLogger;
52 import com.sun.javafx.logging.PlatformLogger.Level;
53
54 import java.io.FileNotFoundException;
55 import java.io.FilePermission;
56 import java.io.IOException;
57 import java.io.InputStream;
58 import java.lang.ref.Reference;
59 import java.lang.ref.SoftReference;
60 import java.lang.ref.WeakReference;
61 import java.lang.reflect.InvocationTargetException;
62 import java.lang.reflect.Method;
63 import java.net.MalformedURLException;
64 import java.net.URI;
65 import java.net.URISyntaxException;
66 import java.net.URL;
67 import java.security.AccessControlContext;
68 import java.security.AccessController;
69 import java.security.DigestInputStream;
70 import java.security.MessageDigest;
71 import java.security.NoSuchAlgorithmException;
72 import java.security.PermissionCollection;
|