Mohamed Sanaulla wrote:if you are using JavaFX script - please move to Java API based approach for JavaFX which is new in JavaFX 2.0. JavaFX Script isn't supported.
I dont know about the solution though - you might want to check the tutorial to use the layouts in JavaFX 2.0
@Mohamed, I didn't get you clearly. Can you tell me what do you mean by this. I am a newbie in JavaFX.
I can't get how to use Java approach in JavaFx. I mean JavaFX Class doesn't have any constructor for me to add the init code in it. I should create JavaFX Class or Java class. How do I initialize components and add data to it. There should be some place to do this work.
Couldn't find any tutorial also that explains this all parts nicely. the tutorial avaialbel on Oracle site uses all scripting only - no such code like :
Title t = new Tile()
.....
...
BTW, is it better to use JavaFx2.0 or lower verison ?