Wednesday Sep 01, 2010

TechCast Live: NetBeans IDE 6.9 - JavaFX Composer and OSGi

A little bit late but here is it - TechCast Live: NetBeans IDE 6.9 - JavaFX Composer and OSGi. I did the demo of JavaFX Composer - it shows how to use Ai to adjust existing image, JavaFX Production Suite to export the image as fxd (vector graphics format which can be consumed by JavaFX) and NetBeans JavaFX Composer to make an animated application. Skip to about 6:10 for the demo.

TechCast Live

NetBeans 6.10 M1 available

NetBeans 6.10 M1 is available for download.  JavaFX Composer Data Sources have been significantly improved in NetBeans 6.10 M1
  • The API has been re-written (old API is still available for compatibility reason)
  • Improved Query Language
  • New Data-sources aware components based on original JavaFX 1.3.1 components. Use of new components makes the whole developer workflow more intuitive and faster
  • Write support - it is possible to generate read-write forms and save the data back to the date provider
  • Data validation support
  • Updated samples
Form Design

Read the full story here:

8 Milestones!

8 Milestones of JavaFX Composer so far! Since M3 all public, M5 was the first milestone included in the official NetBeans distribution (6.9 Beta). Thank to all members of the team.

Thursday May 06, 2010

Changing colors of components

There is lot of documents describing how to change the color and look of components in JavaFX 1.3. However is there a simple way how to change it in JavaFX Composer? Of course!

Option 1 - changing a particular component

In component's Properties in Style category, provide the correct snippet of  CSS that modifies this component.

E.g. -fx-background-color: red; for Button

 or -fx-text-fill: red; to change hyperlink color.

Option 2 - provide CSS for whole design

Select the Scene node in Navigator. There is "Stylesheets" property where you can specify the path to your stylesheet.

More informations


Thursday Apr 22, 2010

NetBeans 6.9 Beta has been released!

Since NetBeans 6.9 Beta, JavaFX Composer is a part of official NetBeans distribution. There have been significant improvements in JavaFX Composer since Preview 2.

  • Support for JavaFX 1.3 
  • More components
  • DataSources Query Language
  • Support for JavaFX Production Suite (FXD/FXZ formats)
  • Many usability improvements

Read more in What's new in JavaFX Composer in NetBeans 6.9 Beta.

Read more about NetBeans 6.9 Beta and download from

Saturday Mar 13, 2010

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

Friday Mar 12, 2010

[BUG in preview2] Blank document when you use Text Fill of Label

Unfortunately, we discovered serious bug in the Preview2 of JavaFX Composer. Thank you, for discovering and reporting the problem. As there is a workaround to this problem and the JavaFX Composer is still in Preview "only" we will not provide a patch for this bug.

 Problem description:

If you set any value to a "Text Fill" property of any Label component, then first you will start seeing the IllegalStateException in the
console. If you save and close such a design, then you will NOT be able to reopen it anymore.The design will open as empty / blank


  1. Open your Main.fxc file in an external file editor.
  2. Find all lines that starts like this:  <Reference name="textFill" >
  3. Delete all these lines and save the file.
  4. Now you should be able to open the design file in NB IDE again.
  5. Do NOT set any "Text Fill" property on any Label component using a specific value.
  6. Instead open the property editor for the property. In dialog, check "Use Text Fill resolved from field:" radio-button and enter your color into the text-field below. The color must be entered as a custom-code e.g. javafx.scene.paint.Color.BLACK
  7. This way the "Text Fill" color will NOT be visualized in the design view and you will be able to open your design.  

Tuesday Feb 23, 2010

Designing even "small" components

A while ago I blogged about small problem in JavaFX Composer Preview1. That was solved in the Preview2 (of course). If you want to edit the "scaled" components you can dive into it. The JavaFX Composer will then show the particular container. Zoomed.

A picture is worth thousand words...

So we have to zoom in...

and we can zoom in even more

Double click the container to zoom in. For zoom out, use the hyperlinks in title bar of the Design area.

Tuesday Feb 16, 2010

JavaFX Composer Preview

NetBeans JavaFX Composer Preview 2 has just been released. It is a plug-in for NetBeans IDE 6.8, available through NetBeans Update Center:

  • Visual editor for a form-like UI using components in JavaFX 1.2.1 SDK
  • Dynamic design editing based on states
  • Data access to Web Services, databases and local storages
  • Support for JavaFX binding
  • Simple animation editor
  • Multi-screen-size editing

 It is our second public milestone, there are few improvements comparing to the first preview - better animation support, graphics shapes, improved data sources, experimental charts support, etc.

Visit JavaFX Composer home page for more information -


NetBeans JavaFX Composer blog


« July 2016