1 <?xml version="1.0" encoding="UTF-8"?> 2 3 <!-- 4 /* 5 * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. 6 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 7 * 8 * This code is free software; you can redistribute it and/or modify it 9 * under the terms of the GNU General Public License version 2 only, as 10 * published by the Free Software Foundation. Oracle designates this 11 * particular file as subject to the "Classpath" exception as provided 12 * by Oracle in the LICENSE file that accompanied this code. 13 * 14 * This code is distributed in the hope that it will be useful, but WITHOUT 15 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 16 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 17 * version 2 for more details (a copy is included in the LICENSE file that 18 * accompanied this code). 19 * 20 * You should have received a copy of the GNU General Public License version 21 * 2 along with this work; if not, write to the Free Software Foundation, 22 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 23 * 24 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 25 * or visit www.oracle.com if you need additional information or have any 26 * questions. 27 */ 28 --> 29 30 <?import java.lang.*?> 31 <?import javafx.scene.layout.*?> 32 <?import javafx.scene.text.*?> 33 <?import myapp6.pkg4.CustomNode?> 34 35 <StackPane xmlns:fx="http://javafx.com/fxml/1" id="RootTestCustomNode" fx:id = "root" prefHeight="300.0" prefWidth="400.0"> 36 <children> 37 <CustomNode fx:id="theCustomNode"> 38 <name>Duke</name> 39 </CustomNode> 40 <Text fx:id = "theText" text="FXML Text String"> 41 </Text> 42 </children> 43 </StackPane>