I created a view with JavaFX Scene builder 2.0. frmEHRCat.fxml, for some reason when I try to open I just get an icon on task bar but nothing opens. has anybody had this issue?
here is what is in the file:
<?xml version="1.0" encoding="UTF-8"?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.collections.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.image.*?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.paint.*?>
<?import javafx.scene.web.*?>
<AnchorPane id="apCatEHR" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="516.0" prefWidth="372.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
<children>
<Button id="btCancel" layoutX="293.0" layoutY="477.0" mnemonicParsing="false" text="Cancel" />
<Button id="btOk" layoutX="247.0" layoutY="477.0" mnemonicParsing="false" text="Ok" />
<TableView id="tblCatEHR" layoutX="14.0" layoutY="14.0" prefHeight="200.0" prefWidth="200.0" AnchorPane.bottomAnchor="45.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<columns>
<TableColumn id="colChkBox" prefWidth="42.0" text="..." />
<TableColumn id="colCat" prefWidth="206.0" text="Category" />
<TableColumn id="colCatID" minWidth="0.0" prefWidth="60.0" text="ID" />
</columns>
</TableView>
</children>
</AnchorPane>
here is what is in the file:
<?xml version="1.0" encoding="UTF-8"?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.collections.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.image.*?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.paint.*?>
<?import javafx.scene.web.*?>
<AnchorPane id="apCatEHR" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="516.0" prefWidth="372.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
<children>
<Button id="btCancel" layoutX="293.0" layoutY="477.0" mnemonicParsing="false" text="Cancel" />
<Button id="btOk" layoutX="247.0" layoutY="477.0" mnemonicParsing="false" text="Ok" />
<TableView id="tblCatEHR" layoutX="14.0" layoutY="14.0" prefHeight="200.0" prefWidth="200.0" AnchorPane.bottomAnchor="45.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<columns>
<TableColumn id="colChkBox" prefWidth="42.0" text="..." />
<TableColumn id="colCat" prefWidth="206.0" text="Category" />
<TableColumn id="colCatID" minWidth="0.0" prefWidth="60.0" text="ID" />
</columns>
</TableView>
</children>
</AnchorPane>