This discussion is archived
13 Replies Latest reply: Jan 26, 2013 4:54 PM by sselvia RSS

Scene Builder 1.1-b16 "Not Responding" with Large FXML

sselvia Newbie
Currently Being Moderated
I have an FXML file that has 150+ nodes in various tabs and title panes, the FXML file has 494 lines. When I use Scene Builder to edit the FXML and make changes the program becomes unresponsive and I have to kill the program with Windows Task Manager.

Does Scene Builder have a limit to the number of nodes or file size? If so, how can I split the FXML file apart into different FXML files but have the FXMLLoader merge them together for my controller?
  • 1. Re: Scene Builder 1.1-b16 "Not Responding" with Large FXML
    EricLePonner Explorer
    Currently Being Moderated
    An FXML file can include another one.
    This could be a way to reduce the size of each individual FXML files.
    With Scene Builder, you can include an FXML file using File -> Import -> FXML...

    Anyway SB does not have any hard coded limit for the number of components in an FXML file.
    So I would say that you are facing a bug here, either in SB or in FX.
    Would it be possible for you to share your FXML file with us so that we can make some tests ?
  • 2. Re: Scene Builder 1.1-b16 "Not Responding" with Large FXML
    sselvia Newbie
    Currently Being Moderated
    Here is the FXML, if you need the controller I'll have to strip out some code before I can send that information. My main area of concern is adding or changing fields, assigning fx:id's and changing other attributes such as location or preferred width. What I am experiencing, after changing 3 to 5 Node attributes the UI becomes very unresponsive. I now have been forced to change and perform a save after each change, if I don't and the UI freezes I lose the changes. I've also started editing the raw XML in Netbeans when I am making a large number of changes, I then go into the UI to tweak what I need and hit save after each tweak.

    Thanks, for your help

    <?xml version="1.0" encoding="UTF-8"?>

    <?import java.lang.*?>
    <?import java.util.*?>
    <?import javafx.collections.*?>
    <?import javafx.scene.control.*?>
    <?import javafx.scene.layout.*?>
    <?import javafx.scene.paint.*?>
    <?import javafx.scene.text.*?>

    <AnchorPane id="AnchorPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="768.0" prefWidth="1024.0" xmlns:fx="http://javafx.com/fxml" fx:controller="controller.MyController">
    <children>
    <TabPane fx:id="tabPane" prefHeight="712.0" prefWidth="996.0" tabClosingPolicy="UNAVAILABLE" AnchorPane.bottomAnchor="42.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="14.0">
    <tabs>
    <Tab fx:id="tabDS" text="Firmographic Search">
    <content>
    <AnchorPane id="Content" minHeight="0.0" minWidth="0.0" prefHeight="672.0" prefWidth="996.0">
    <children>
    <Accordion prefHeight="667.0" prefWidth="968.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="14.0">
    <expandedPane>
    <TitledPane fx:id="titlePaneDSSearch" animated="false" graphicTextGap="4.0" onMouseClicked="#titlePaneDSSearchClicked" prefHeight="664.0" prefWidth="968.0" text="Search Options:">
    <content>
    <AnchorPane id="Content" minHeight="0.0" minWidth="0.0" prefHeight="494.0" prefWidth="964.0">
    <children>
    <Label fx:id="lblDSCompanyName" alignment="CENTER_RIGHT" contentDisplay="CENTER" layoutX="7.0" layoutY="13.0" prefWidth="102.0" text="Company Name:">
    <labelFor>
    <TextField fx:id="txtDSCompanyName" layoutX="117.0" layoutY="11.0" prefWidth="200.0" promptText="Enter Company Name" />
    </labelFor>
    </Label>
    <fx:reference source="txtDSCompanyName" />
    <VBox id="VBoxDSCompanyName" alignment="CENTER_LEFT" layoutX="323.0" layoutY="11.0" prefWidth="91.0" spacing="5.0">
    <children>
    <RadioButton fx:id="rbtnDSCompanyNameEquals" mnemonicParsing="false" selected="true" text="Equals">
    <toggleGroup>
    <ToggleGroup fx:id="tGrpDSCompanyName" />
    </toggleGroup>
    </RadioButton>
    <RadioButton fx:id="rbtnDSCompanyNameStartsWith" mnemonicParsing="false" text="Starts With" toggleGroup="$tGrpDSCompanyName" />
    <RadioButton fx:id="rbtnDSCompanyNameContains" mnemonicParsing="false" text="Contains" toggleGroup="$tGrpDSCompanyName" />
    <RadioButton fx:id="rbtnDSCompanyNameEndsWith" mnemonicParsing="false" text="Ends With" toggleGroup="$tGrpDSCompanyName" />
    </children>
    </VBox>
    <Label fx:id="lblDSContactName" alignment="CENTER_RIGHT" layoutX="14.0" layoutY="101.0" prefWidth="96.0" text="Contact Name:">
    <labelFor>
    <TextField fx:id="txtDSContactName" layoutX="117.0" layoutY="98.0" prefWidth="200.0" promptText="Enter Contact Name" text="" />
    </labelFor>
    </Label>
    <fx:reference source="txtDSContactName" />
    <VBox id="VBoxDSContactName" alignment="CENTER_LEFT" layoutX="323.0" layoutY="98.0" prefWidth="91.0" spacing="5.0">
    <children>
    <RadioButton fx:id="rbtnDSContactNameEquals" mnemonicParsing="false" selected="true" text="Equals">
    <toggleGroup>
    <ToggleGroup fx:id="tGrpDSContactName" />
    </toggleGroup>
    </RadioButton>
    <RadioButton fx:id="rbtnDSContactNameStartsWith" mnemonicParsing="false" text="Starts With" toggleGroup="$tGrpDSContactName" />
    <RadioButton fx:id="rbtnDSContactNameContains" mnemonicParsing="false" text="Contains" toggleGroup="$tGrpDSContactName" />
    <RadioButton fx:id="rbtnDSContactNameEndsWith" mnemonicParsing="false" text="Ends With" toggleGroup="$tGrpDSContactName" />
    </children>
    </VBox>
    <Label fx:id="lblDSAddress" alignment="CENTER_RIGHT" layoutX="14.0" layoutY="189.0" prefWidth="96.0" text="Address:">
    <labelFor>
    <TextField fx:id="txtDSAddress" layoutX="117.0" layoutY="187.0" prefWidth="200.0" promptText="Enter Address" />
    </labelFor>
    </Label>
    <fx:reference source="txtDSAddress" />
    <VBox id="VBoxDSAddress" alignment="CENTER_LEFT" layoutX="323.0" layoutY="187.0" spacing="5.0">
    <children>
    <RadioButton fx:id="rbtnDSAddrEquals" mnemonicParsing="false" selected="true" text="Equals">
    <toggleGroup>
    <ToggleGroup fx:id="tGrpDSAddress" />
    </toggleGroup>
    </RadioButton>
    <RadioButton fx:id="rbtnDSAddrStartsWith" mnemonicParsing="false" text="Starts With" toggleGroup="$tGrpDSAddress" />
    <RadioButton fx:id="rbtnDSAddrContains" mnemonicParsing="false" text="Contains" toggleGroup="$tGrpDSAddress" />
    <RadioButton fx:id="rbtnDSAddrEndsWith" mnemonicParsing="false" text="Ends With" toggleGroup="$tGrpDSAddress" />
    </children>
    </VBox>
    <Label fx:id="lblDSCity" alignment="CENTER_RIGHT" layoutX="14.0" layoutY="274.0" prefWidth="96.0" text="City:">
    <labelFor>
    <TextField fx:id="txtDSCity" layoutX="117.0" layoutY="272.0" prefWidth="200.0" promptText="Enter City" />
    </labelFor>
    </Label>
    <fx:reference source="txtDSCity" />
    <VBox id="VBoxDSCity" alignment="CENTER_LEFT" layoutX="323.0" layoutY="275.0" spacing="5.0">
    <children>
    <RadioButton fx:id="rbtnDSCityEquals" mnemonicParsing="false" selected="true" text="Equals">
    <toggleGroup>
    <ToggleGroup fx:id="tGrpDSCity" />
    </toggleGroup>
    </RadioButton>
    <RadioButton fx:id="rbtnDSCityStartsWith" mnemonicParsing="false" text="Starts With" toggleGroup="$tGrpDSCity" />
    <RadioButton fx:id="rbtnDSCityContains" mnemonicParsing="false" text="Contains" toggleGroup="$tGrpDSCity" />
    <RadioButton fx:id="rbtnDSCityEndsWith" mnemonicParsing="false" text="Ends With" toggleGroup="$tGrpDSCity" />
    </children>
    </VBox>
    <Label fx:id="lblDSCounty" alignment="CENTER_RIGHT" layoutX="14.0" layoutY="362.0" prefWidth="96.0" text="County:">
    <labelFor>
    <TextField fx:id="txtDSCounty" layoutX="117.0" layoutY="360.0" prefWidth="200.0" promptText="Enter County Name" />
    </labelFor>
    </Label>
    <fx:reference source="txtDSCounty" />
  • 4. Re: Scene Builder 1.1-b16 "Not Responding" with Large FXML
    sselvia Newbie
    Currently Being Moderated
    <panes>
    <fx:reference source="titlePaneDSSearch" />
    <TitledPane fx:id="titlePaneDSResults" animated="false" collapsible="false" prefHeight="525.0" prefWidth="968.0" text="Search Results">
    <content>
    <AnchorPane id="Content" minHeight="0.0" minWidth="0.0" prefHeight="561.0" prefWidth="964.0">
    <children>
    <TableView fx:id="tblViewDSResults" prefHeight="560.0" prefWidth="939.0" tableMenuButtonVisible="true" AnchorPane.bottomAnchor="45.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="11.0" AnchorPane.topAnchor="14.0">
    <!--
    <columns>
    <TableColumn prefWidth="75.0" text="Column X" />
    <TableColumn prefWidth="75.0" text="Column X" />
    </columns>
    -->
    </TableView>
    <FlowPane alignment="BOTTOM_CENTER" prefHeight="22.0" prefWidth="938.0" AnchorPane.bottomAnchor="12.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="12.0">
    <children>
    <Button fx:id="btnDSResultsLoad" mnemonicParsing="false" onAction="#btnDSResultsLoadAction" text="Load into Salesforce.com" />
    </children>
    </FlowPane>
    <HBox id="HBox" alignment="CENTER" spacing="5.0" AnchorPane.bottomAnchor="12.0" AnchorPane.leftAnchor="14.0">
    <children>
    <Button fx:id="btnDSResultsSelectAll" mnemonicParsing="false" onAction="#btnDSResultsSelectAllAction" text="Select All" />
    <Button fx:id="btnDSResultsDeselectAll" mnemonicParsing="false" onAction="#btnDSResultsDeselectAllAction" text="Deselect All" />
    <TextField fx:id="txtDSResults" editable="false" prefWidth="90.0" />
    <ProgressBar fx:id="pBarDSProgress" prefWidth="99.0" progress="0.0" />
    </children>
    </HBox>
    <Button fx:id="btnDSResultsClear" mnemonicParsing="false" onAction="#btnDSResultsClearAction" text="Clear" AnchorPane.bottomAnchor="12.0" AnchorPane.rightAnchor="14.0" />
    <Label fx:id="lblDSLoadStatus" prefWidth="316.0" text="Status" AnchorPane.bottomAnchor="15.0" AnchorPane.rightAnchor="71.0" />
    </children>
    </AnchorPane>
    </content>
    </TitledPane>
    </panes>
    </Accordion>
    </children>
    </AnchorPane>
    </content>
    </Tab>
    <Tab fx:id="tabAD" text="Append Firmographics">
    <content>
    <AnchorPane id="Content" minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
    <children>
    <TitledPane fx:id="titlePaneADCRMSearch" animated="false" collapsible="false" prefHeight="667.0" prefWidth="969.0" text="Salesforce.com CRM Record" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="14.0">
    <content>
    <AnchorPane id="Content" minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
    <children>
    <Label fx:id="lblADCompanyName" alignment="CENTER_RIGHT" layoutX="14.0" layoutY="14.0" prefWidth="115.0" text="Company Name:" />
    <TextField fx:id="txtADCompanyName" layoutX="135.0" layoutY="11.0" prefWidth="413.0" promptText="Enter Company Name" />
    <Label fx:id="lblADContactName" alignment="CENTER_RIGHT" layoutX="14.0" layoutY="43.0" prefWidth="115.0" text="Contact Name:" />
    <TextField fx:id="txtADContactName" layoutX="135.0" layoutY="40.0" prefWidth="413.0" promptText="Enter Contact Name" />
    <Label fx:id="lblADAddress1" alignment="CENTER_RIGHT" layoutX="14.0" layoutY="71.0" prefWidth="115.0" text="Address 1:" />
    <TextField fx:id="txtADAddress1" layoutX="135.0" layoutY="68.0" prefWidth="413.0" promptText="Enter Address" />
    <Label fx:id="lblADAddress2" alignment="CENTER_RIGHT" layoutX="14.0" layoutY="102.0" prefWidth="115.0" text="Address 2:" />
    <TextField fx:id="txtADAddress2" layoutX="135.0" layoutY="98.0" prefWidth="413.0" promptText="Enter Address" />
    <Label fx:id="lblADCity" alignment="CENTER_RIGHT" layoutX="14.0" layoutY="129.0" prefWidth="115.0" text="City:" />
    <TextField fx:id="txtADCity" layoutX="135.0" layoutY="125.0" prefWidth="284.0" promptText="Enter City" />
    <Label fx:id="lblADState" alignment="CENTER_RIGHT" layoutX="14.0" layoutY="159.0" prefWidth="115.0" text="State:" />
    <TextField fx:id="txtADState" layoutX="135.0" layoutY="156.0" prefWidth="39.0" />
    <Label fx:id="lblADZipCode" alignment="CENTER_RIGHT" layoutX="14.0" layoutY="190.0" prefWidth="115.0" text="Zip Code:" />
    <TextField fx:id="txtADZipCode" layoutX="135.0" layoutY="187.0" prefWidth="88.0" />
    <Label fx:id="lblADPhone" alignment="CENTER_RIGHT" layoutX="14.0" layoutY="220.0" prefWidth="115.0" text="Phone:" />
    <TextField fx:id="txtADPhone" layoutX="135.0" layoutY="216.0" prefWidth="88.0" />
    <Label fx:id="lblADAddressKey" alignment="CENTER_RIGHT" layoutX="553.0" layoutY="68.0" prefWidth="157.0" text="Address Key:" />
    <Label fx:id="lblADHouseholdKey" alignment="CENTER_RIGHT" layoutX="553.0" layoutY="12.0" prefWidth="157.0" text="Site Key:" />
    <Label fx:id="lblADIndividualKey" alignment="CENTER_RIGHT" layoutX="553.0" layoutY="40.0" prefWidth="157.0" text="Contact Key:" />
    <Label fx:id="lblADAddrKeyWithSuiteKey" alignment="CENTER_RIGHT" layoutX="553.0" layoutY="97.0" prefWidth="157.0" text="Address Key w/Suite:" />
    <TextField fx:id="txtADAddressKey" editable="false" layoutX="726.0" layoutY="65.0" prefWidth="115.0" />
    <TextField fx:id="txtADHouseholdKey" editable="false" layoutX="726.0" layoutY="9.0" prefWidth="115.0" />
    <TextField fx:id="txtADIndividualKey" editable="false" layoutX="726.0" layoutY="37.0" prefWidth="115.0" />
    <TextField fx:id="txtADAddrKeyWithSuiteKey" editable="false" layoutX="726.0" layoutY="93.0" prefWidth="115.0" />
    <Label fx:id="lblADLooseMatchKey" alignment="CENTER_RIGHT" layoutX="553.0" layoutY="123.0" prefWidth="157.0" text="Business Relationship Key:" />
    <TextField fx:id="txtADLooseMatchKey" layoutX="726.0" layoutY="119.0" prefWidth="115.0" />
    <TabPane id="tapPaneAD" fx:id="tabPaneAD" prefHeight="373.0" prefWidth="939.0" tabClosingPolicy="UNAVAILABLE" AnchorPane.bottomAnchor="14.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="254.0">
    <tabs>
    <Tab fx:id="tabADMatchResults" text="Match Results">
    <content>
    <AnchorPane id="Content" minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
    <children>
    <TableView fx:id="tblViewADResults" editable="false" prefHeight="268.0" prefWidth="906.0" tableMenuButtonVisible="true" AnchorPane.bottomAnchor="61.0" AnchorPane.leftAnchor="16.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="13.0">
    <!--
    <columns>
    <TableColumn prefWidth="75.0" text="Column X" />
    <TableColumn prefWidth="75.0" text="Column X" />
    </columns>
    -->
    </TableView>
    <FlowPane alignment="BOTTOM_CENTER" hgap="10.0" prefHeight="46.0" prefWidth="908.0" AnchorPane.bottomAnchor="14.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0">
    <children>
    <Button fx:id="btnADSearch" mnemonicParsing="false" onAction="#btnADSearchAction" text="Display Matched Records" />
    <ProgressIndicator fx:id="pIndADProgress" progress="0.0" />
    </children>
    </FlowPane>
    <Button fx:id="btnADResultsClear" mnemonicParsing="false" onAction="#btnADResultsClearAction" text="Clear" AnchorPane.bottomAnchor="22.0" AnchorPane.rightAnchor="14.0" />
    <Button fx:id="btnADDisplay" mnemonicParsing="false" onAction="#btnADDisplayAction" text="Display Firmographic Data" AnchorPane.bottomAnchor="22.0" AnchorPane.leftAnchor="14.0" />
    </children>
    </AnchorPane>
    </content>
    </Tab>
    <Tab fx:id="tabADDataFields" text="Firmographic Data">
    <content>
    <AnchorPane id="Content" minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
    <children>
    <TableView fx:id="tblViewADFields" prefHeight="290.0" prefWidth="908.0" AnchorPane.bottomAnchor="38.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="14.0">
    <!--
    <columns>
    <TableColumn prefWidth="75.0" text="Column X" />
    <TableColumn prefWidth="75.0" text="Column X" />
    </columns>
    -->
    </TableView>
    <FlowPane alignment="BOTTOM_CENTER" prefHeight="22.0" prefWidth="908.0" AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0">
    <children>
    <Button fx:id="btnADAppend" mnemonicParsing="false" onAction="#btnADAppendAction" text="Append Firmographic Data" />
    </children>
    </FlowPane>
    </children>
    </AnchorPane>
    </content>
    </Tab>
    </tabs>
    </TabPane>
    <Label alignment="CENTER_RIGHT" layoutX="386.0" layoutY="156.0" prefWidth="144.0" text="Drive Time:" />
    <ListView fx:id="lviewDriveTimeResults" layoutX="546.0" layoutY="151.0" prefHeight="84.0" prefWidth="295.0">
    <items>
    <FXCollections fx:factory="observableArrayList">
    <String fx:value="" />
    </FXCollections>
    </items>
    </ListView>
    <Button fx:id="btnADDriveTimeCalc" layoutX="396.0" layoutY="185.0" mnemonicParsing="false" onAction="#btnADDriveTimeCalcAction" prefWidth="134.0" text="Calculate" />
    </children>
    </AnchorPane>
    </content>
    </TitledPane>
    </children>
    </AnchorPane>
    </content>
    </Tab>
    <Tab fx:id="tabCS" text="Customer Search">
    <content>
    <AnchorPane id="Content" minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
    <children>
    <TitledPane fx:id="titlePaneCSSearch" animated="false" collapsible="false" prefHeight="667.0" prefWidth="969.0" text="Record" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="14.0">
    <content>
    <AnchorPane id="Content" minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
    <children>
    <Label fx:id="lblCSName" alignment="CENTER_RIGHT" layoutX="14.0" layoutY="14.0" prefWidth="115.0" text="Name:" />
    <TextField fx:id="txtCSName" layoutX="135.0" layoutY="11.0" prefWidth="413.0" promptText="Enter Name" />
    <Label fx:id="lblCSAddress1" alignment="CENTER_RIGHT" layoutX="14.0" layoutY="44.0" prefWidth="115.0" text="Address 1:" />
    <TextField fx:id="txtCSAddress1" layoutX="135.0" layoutY="41.0" prefWidth="413.0" promptText="Enter Address" />
    <Label fx:id="lblCSAddress2" alignment="CENTER_RIGHT" layoutX="14.0" layoutY="75.0" prefWidth="115.0" text="Address 2:" />
    <TextField fx:id="txtCSAddress2" layoutX="135.0" layoutY="71.0" prefWidth="413.0" promptText="Enter Address" />
    <Label fx:id="lblCSCity" alignment="CENTER_RIGHT" layoutX="14.0" layoutY="102.0" prefWidth="115.0" text="City:" />
    <TextField fx:id="txtCSCity" layoutX="135.0" layoutY="98.0" prefWidth="284.0" promptText="Enter City" />
    <Label fx:id="lblCSState" alignment="CENTER_RIGHT" layoutX="14.0" layoutY="132.0" prefWidth="115.0" text="State:" />
    <TextField fx:id="txtCSState" layoutX="135.0" layoutY="129.0" prefWidth="39.0" />
    <Label fx:id="lblCSZipCode" alignment="CENTER_RIGHT" layoutX="14.0" layoutY="163.0" prefWidth="115.0" text="Zip Code:" />
    <TextField fx:id="txtCSZipCode" layoutX="135.0" layoutY="160.0" prefWidth="88.0" />
    <Label fx:id="lblCSPhone" alignment="CENTER_RIGHT" layoutX="14.0" layoutY="193.0" prefWidth="115.0" text="Phone:" />
    <TextField fx:id="txtCSPhone" layoutX="135.0" layoutY="189.0" prefWidth="88.0" />
    <Label fx:id="lblCSAcctType" alignment="CENTER_RIGHT" layoutX="14.0" layoutY="223.0" prefWidth="115.0" text="Account Type:" />
    <TextField fx:id="txtCSAcctType" layoutX="135.0" layoutY="219.0" prefWidth="88.0" />
    <Label fx:id="lblCSRealStype" alignment="CENTER_RIGHT" layoutX="261.0" layoutY="132.0" prefWidth="115.0" text="Real SType:" visible="false" />
    <TextField fx:id="txtCSRealStype" focusTraversable="false" layoutX="382.0" layoutY="128.0" prefWidth="88.0" visible="false" />
    <Label fx:id="lblCSUniqueNumber" alignment="CENTER_RIGHT" layoutX="261.0" layoutY="161.0" prefWidth="115.0" text="Unique Number:" visible="false" />
    <TextField fx:id="txtCSUniqueNumber" focusTraversable="false" layoutX="382.0" layoutY="157.0" prefWidth="88.0" visible="false" />
    <Label fx:id="lblCSURIL1" alignment="CENTER_RIGHT" layoutX="261.0" layoutY="189.0" prefWidth="115.0" text="URIL1:" visible="false" />
    <TextField fx:id="txtCSURIL1" focusTraversable="false" layoutX="382.0" layoutY="186.0" prefWidth="88.0" visible="false" />
    <Label fx:id="lblCSMatchAddrFlag" alignment="CENTER_RIGHT" layoutX="261.0" layoutY="219.0" prefWidth="115.0" text="Match Address Flag:" />
    <TextField fx:id="txtCSMatchAddrFlag" layoutX="382.0" layoutY="216.0" prefWidth="88.0" />
    <Label fx:id="lblCSIDNumber" alignment="CENTER_RIGHT" layoutX="496.0" layoutY="131.0" prefWidth="115.0" text="ID Number:" visible="false" />
    <TextField fx:id="txtCSIDNumber" focusTraversable="false" layoutX="617.0" layoutY="128.0" prefWidth="88.0" visible="false" />
    <Label fx:id="lblCSMatchingL1" alignment="CENTER_RIGHT" layoutX="496.0" layoutY="161.0" prefWidth="115.0" text="Matching L1:" visible="false" />
    <TextField fx:id="txtCSMatchingL1" focusTraversable="false" layoutX="617.0" layoutY="158.0" prefWidth="88.0" visible="false" />
    <Label fx:id="lblCSDNBNumberL1" alignment="CENTER_RIGHT" layoutX="496.0" layoutY="192.0" prefWidth="115.0" text="DNB Number:" visible="false" />
    <TextField fx:id="txtCSDNBNumberL1" focusTraversable="false" layoutX="617.0" layoutY="189.0" prefWidth="88.0" visible="false" />
    <Label fx:id="lblCSAddressKey" alignment="CENTER_RIGHT" layoutX="553.0" layoutY="68.0" prefWidth="152.0" text="Address Key:" />
    <TextField fx:id="txtCSAddressKey" editable="false" layoutX="726.0" layoutY="65.0" prefWidth="115.0" />
    <Label fx:id="lblCSHouseholdKey" alignment="CENTER_RIGHT" layoutX="553.0" layoutY="12.0" prefWidth="152.0" text="Household/Business Key:" />
    <TextField fx:id="txtCSHouseholdKey" editable="false" layoutX="726.0" layoutY="9.0" prefWidth="115.0" />
    <Label fx:id="lblCSIndividualKey" alignment="CENTER_RIGHT" layoutX="553.0" layoutY="40.0" prefWidth="152.0" text="Individual/Contact Key:" />
    <TextField fx:id="txtCSIndividualKey" editable="false" layoutX="726.0" layoutY="37.0" prefWidth="115.0" />
    <Label fx:id="lblCSSuperGroupKey" alignment="CENTER_RIGHT" layoutX="553.0" layoutY="98.0" prefWidth="152.0" text="Super Group Key:" />
    <TextField fx:id="txtCSSuperGroupKey" editable="false" layoutX="726.0" layoutY="95.0" prefWidth="115.0" />
    <TableView fx:id="tblViewCSResults" editable="false" prefHeight="334.0" prefWidth="936.0" tableMenuButtonVisible="true" AnchorPane.bottomAnchor="54.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="253.0">
    <!--
    <columns>
    <TableColumn prefWidth="75.0" text="Column X" />
    <TableColumn prefWidth="75.0" text="Column X" />
    </columns>
    -->
    </TableView>
    <FlowPane alignment="BOTTOM_CENTER" hgap="10.0" prefHeight="46.0" prefWidth="936.0" AnchorPane.bottomAnchor="8.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0">
    <children>
    <Button fx:id="btnCSSearch" mnemonicParsing="false" onAction="#btnCSSearchAction" text="Search Database" />
    <ProgressIndicator fx:id="pIndCSProgress" progress="0.0" />
    </children>
    </FlowPane>
    <Button fx:id="btnCSResultsClear" mnemonicParsing="false" onAction="#btnCSResultsClearAction" text="Clear" AnchorPane.bottomAnchor="16.0" AnchorPane.rightAnchor="14.0" />
    </children>
    </AnchorPane>
    </content>
    </TitledPane>
    </children>
    </AnchorPane>
    </content>
    </Tab>
    </tabs>
    </TabPane>
    <FlowPane alignment="BOTTOM_CENTER" prefHeight="22.0" prefWidth="1050.0" AnchorPane.bottomAnchor="10.0" AnchorPane.leftAnchor="29.0" AnchorPane.rightAnchor="27.0">
    <children>
    <Button fx:id="btnExit" mnemonicParsing="false" onAction="#btnExitAction" text="Exit" />
    </children>
    </FlowPane>
    </children>
    </AnchorPane>
  • 5. Re: Scene Builder 1.1-b16 "Not Responding" with Large FXML
    EricLePonner Explorer
    Currently Being Moderated
    We're having some troubles recomposing your FXML file.
    Could you file a bug in http://javafx-jira.kenai.com and attach your fxml to it ?
    Use "Scene Builder" as the Project of the bug entry.
    Thanks.
  • 6. Re: Scene Builder 1.1-b16 "Not Responding" with Large FXML
    sselvia Newbie
    Currently Being Moderated
    Yes, I had a demo and I quickly did a cut and paste into the user forum reply. I think the second block did not get sent in the reply.
  • 7. Re: Scene Builder 1.1-b16 "Not Responding" with Large FXML
    zmirc Newbie
    Currently Being Moderated
    I have the same problem with large FXML files.
    It's really annoying that after 2-4 changes (in average) I have to restart SB, or it blocks itself.
  • 8. Re: Scene Builder 1.1-b16 "Not Responding" with Large FXML
    EricLePonner Explorer
    Currently Being Moderated
    zmirc,

    As for user886389, I encourage you to file a bug against Scene Builder in http://javafx-jira.kenai.com
    and attach your FXML file. Also describe precisely the operating system release you are using.
    This will help us a lot to progress on that issue.
  • 9. Re: Scene Builder 1.1-b16 "Not Responding" with Large FXML
    sselvia Newbie
    Currently Being Moderated
    Eric,

    thanks for the help, I opened a jira issue: http://javafx-jira.kenai.com/browse/DTL-5561

    you can view the fxml in the jira record
  • 10. Re: Scene Builder 1.1-b16 "Not Responding" with Large FXML
    zmirc Newbie
    Currently Being Moderated
    I added my code as a comment into user886389's bug on Jira.

    Edited by: zmirc on Jan 24, 2013 7:48 PM
    I wrote the wrong username in my first reply.
  • 11. Re: Scene Builder 1.1-b16 "Not Responding" with Large FXML
    Jerome Cambon Newbie
    Currently Being Moderated
    Alternatively, you can hide the inspector panel (Ctrl-8), and only show it when needed.
    I've done some measurement, it decreases dramatically the resources consumption.
  • 12. Re: Scene Builder 1.1-b16 "Not Responding" with Large FXML
    sselvia Newbie
    Currently Being Moderated
    I submitted this question in the jira, just in case other people would like to contribute. If I have multiple fxml files that I import into a main fxml file to prevent the jvm memory heap issue and as it was pointed out to use a better pattern. Can I also have a controller per child fxml file to fit into the same pattern? Or would I be stuck with a potentially huge controller for the parent and children fxml files.
  • 13. Re: Scene Builder 1.1-b16 "Not Responding" with Large FXML
    sselvia Newbie
    Currently Being Moderated
    I was able to spend some time today getting the <fx:include source="FXML File Name" /> working in addition the included FXML has it's own controller. I'm going to test the include feature with my larger FXML file on Monday. I suspect editing the smaller <fx:include> FXML files will not hang scene builder, however I also think when I edit the mail FXML file I'll still have a problem.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points