Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8096827

removing font causes fxml file to break

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8u40
    • Component/s: javafx
    • Labels:
      None

      Description

      I just downloaded SceneBuilder 2.0 and wanted to remove something from a file I created in about Nov-Dec of last year. I was removing the center portion of my BorderPane and my scene broke. It would throw the 2 pictures I had to the top left, and all of my components gone.

      I tracked it down to a label with a font

       <Label layoutX="21.0" layoutY="240.0" prefHeight="18.0" prefWidth="246.0" text="First Impressions:" underline="true">
                    <font>
                      <Font name="System Bold" size="20.0" fx:id="x1" />
                    </font>
                  </Label>
                  


      if I remove this it will crash. If I exit scenebuilder and try to remove it manually via Netbeans and then restart SceneBuilder I get a "main class exception."... Weird....

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              eleponn Eric Le Ponner
              Reporter:
              jorsawjfx Jay Orsaw (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: