functional/FxmlTests/src/test/fxmltests/app/staticPropertyLoadApp.java.excluded

Print this page

        

*** 1,5 **** --- 1,6 ---- + // https://bugs.openjdk.java.net/browse/INTJDK-7624138 /* * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it
*** 22,32 **** * or visit www.oracle.com if you need additional information or have any * questions. */ package test.fxmltests.app; ! import com.sun.javafx.fxml.LoadListener; import com.sun.javafx.fxml.ParseTraceElement; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.net.URL; --- 23,33 ---- * or visit www.oracle.com if you need additional information or have any * questions. */ package test.fxmltests.app; ! import javafx.fxml.LoadListener; import com.sun.javafx.fxml.ParseTraceElement; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.net.URL;
*** 40,51 **** import java.util.logging.Level; import java.util.logging.Logger; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.css.CssMetaData; - import javafx.css.ParsedValue; - import javafx.css.StyleConverter; import javafx.css.Styleable; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.fxml.FXMLLoader; import javafx.fxml.JavaFXBuilderFactory; --- 41,50 ----
*** 68,87 **** import javafx.scene.control.ToggleGroup; import javafx.scene.control.cell.PropertyValueFactory; import javafx.scene.input.KeyCombination; import javafx.scene.layout.*; import javafx.scene.paint.Color; - import javafx.scene.paint.Paint; import javafx.scene.shape.Rectangle; import javafx.scene.text.Font; import javafx.scene.text.Text; import javafx.util.Callback; import javafx.util.Pair; - import org.jemmy.control.Wrap; import test.javaclient.shared.BasicButtonChooserApp; - import test.javaclient.shared.JemmyUtils; import test.javaclient.shared.PageWithSlots; import test.javaclient.shared.TestNode; import test.javaclient.shared.Utils; public class staticPropertyLoadApp extends BasicButtonChooserApp { --- 67,83 ----
*** 1957,1967 **** { e.printStackTrace(); System.out.println("message: " + e.getMessage()); reportGetterFailure("message: " + e.getMessage()); } ! return VBoxBuilder.create().children(list).build(); } } --- 1953,1965 ---- { e.printStackTrace(); System.out.println("message: " + e.getMessage()); reportGetterFailure("message: " + e.getMessage()); } ! VBox vb = new VBox(); ! vb.getChildren().addAll(list); ! return vb; } }
*** 2206,2216 **** try { //is = resource.openStream(); FXMLLoader fxmlLoader = new FXMLLoader(resource); fxmlLoader.impl_setStaticLoad(true); ! fxmlLoader.impl_setLoadListener(new LoadListener() { @Override public void readImportProcessingInstruction(String target) { } --- 2204,2214 ---- try { //is = resource.openStream(); FXMLLoader fxmlLoader = new FXMLLoader(resource); fxmlLoader.impl_setStaticLoad(true); ! fxmlLoader.setLoadListener(new LoadListener() { @Override public void readImportProcessingInstruction(String target) { }