Only one file for your design

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

in preview2

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.

after preview2

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

NetBeans JavaFX Composer blog

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today