B4J Question JavaFX Scene Builder 2.0 will not open fxml file

Nokia

Active Member
Licensed User
Longtime User
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>
 

Nokia

Active Member
Licensed User
Longtime User
It was deprecated two years ago and is only kept in the IDE to support old projects.
B4J is designed to work with the internal designer.


I get this error message when I try to load them with internal.
 

Attachments

  • memory_error.png
    memory_error.png
    41.4 KB · Views: 381
Upvote 0

Nokia

Active Member
Licensed User
Longtime User
I was able to get Scene Builder 2.0 to open the file.. had to go to File>Open Recent and Clear Menu.. and it now opens..
 
Upvote 0
Top