This discussion is archived
1 Reply Latest reply: Jan 19, 2013 2:44 AM by zmirc RSS

Starting with JavaFX 2.0 - Any doubts

564776 Newbie
Currently Being Moderated
I'm starting with JAvaFX 2.0.

I need to make a application, but a have any doubts.

- Whats the better, make layouts (Forms) in FXML or JAva Code ? Because, i read any developers prefers use Java Code, to make complex layouts (forms);
- JavaFX has a Date component ? I have not found it.


Thanks


Thiago
  • 1. Re: Starting with JavaFX 2.0 - Any doubts
    zmirc Newbie
    Currently Being Moderated
    Hi!

    1. I would recommend FXML, because it's much faster to operate with (thanks to Scene Builder -> http://www.oracle.com/technetwork/java/javafx/tools/index.html). Try to check this after you install Scene Builder: http://docs.oracle.com/javafx/scenebuilder/1/overview/jsbpub-overview.htm
    Moreover, by using FXML you split the GUI code and the logic code, making them much easier to maintain and test.

    2. There's no date component in the official JFX 2, but take a look here: http://jfxtras.org/

    Cheers!

    Edited by: zmirc on Jan 19, 2013 11:43 AM
    I forgot a link.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points