Oracle Blog

GUI Editing of JavaFX

Saturday Mar 13, 2010

In the Preview1 and Preview2 of JavaFX Composer, you've probably noticed that there are two files created - {DESIGN_NAME}.fx and {DESIGN_NAME}_run.fx. As you can see at the screenshot

If you'll look at your filesystem (or into Files view) you'll notice that there are actually three files. The third is {DESIGN_NAME}.fxc. This .fxc file contains the model of the Design. And you should NEVER edit/modify it. It is used only by the JavaFX Composer - it means you don't need it in final application or if you are moving the sources out of NB IDE.

As we are improving thing (continuously) in the development builds the two visible files were merged into one. It's simpler, understandable and even easier to maintain. The _run.fx file contained a few lines anyway.