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

Make a Controller duplicates in FXML File

XMLWordPrintable

      Everything started when I updated my JavaFX version:

      When I click on "Make Controller" option in my FXML file, there are some kind of "extra updates", which cause that after 2 times I click on this option I get something like:

      <AnchorPane fx:id="anchorWarrning" prefHeight="356.0" prefWidth="600.0"
      xmlns:fx="http://javafx.com/fxml/1" xmlns="http://javafx.com/javafx/2.2"
      fx:controller="GUI.Addons.Alerts.WarrningGUIController"
      fx:controller="GUI.Addons.Alerts.WarrningGUIController"> <---- 2 TIMES! :(
      <children>

      Additionally there is no .bak file which was automatically created next to my FXML file when was modyfing it in Scene Builder.

      Could someone could tell me what is happening?

            Unassigned Unassigned
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: