0

I have strange problem which is concerned to loading FXML file using Scene Builder 1.0. I have created a class Warrning and after that I add to my package a FXML file and called it WarrningGUI. Creator has created a Contoller class called WarrningGUIContoller. Until then everything was fine. I stared to create a layout for my application. After I added two raw Panels and turned on and off my FXML file in Scene Builder about 2-3 times something like that appeared:

enter image description here

And this was in "Detail":

enter image description here

And there are my project files:

http://www59.zippyshare.com/v/94923569/file.html

Does anyone know what is going on?

Thanks for all help :)

Wicia
  • 575
  • 3
  • 9
  • 28
  • You are probably re-defining the `xmlns:fs`. Search in line 9, column 308, as the error says. – Nikos Paraskevopoulos Dec 18 '13 at 15:32
  • Probably I have found source of problem: when I run option "Make Contoller" it is adding a new line in FXML file, e.g after 2 times: ... fx:controller="GUI.Addons.Alerts.WarrningGUIController fx:controller="GUI.Addons.Alerts.WarrningGUIController> – Wicia Dec 18 '13 at 15:40

1 Answers1

0

On NetBeans 7.3 onwards dont use "Make Controller" to update your controller file to reflect the updates. It will inject fx:controller every time "Make Controller" is used.

Sudip Saha
  • 300
  • 2
  • 6
  • 21