1 Reply Latest reply: Jan 19, 2013 4:44 AM by zmirc RSS

    Starting with JavaFX 2.0 - Any doubts

    564776
      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
          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.