which technology should give preference

Michael Ennen mike.ennen at gmail.com
Fri Sep 7 00:23:57 UTC 2018


No worries. Also I agree with Johan that it would be more appropriate
to ask questions like this on, say, Stack Overflow. As Johan mentioned
this list is for discussing the development of JavaFX itself (not the use of
it).

Cheers,
Michael Ennen

On Thu, Sep 6, 2018 at 5:22 PM John-Val Rose <johnvalrose at gmail.com> wrote:

> Thanks Michael - your answer was way better than mine!
>
> > On 7 Sep 2018, at 10:19, Michael Ennen <mike.ennen at gmail.com> wrote:
> >
> > Amno,
> >
> > It is not a zero-sum choice. FXML is a part of JavaFX. FXML does not add
> > anything, per se (in terms of nodes, controls, etc.) FXML allows for
> > decoupling
> > the specific UI configuration (in terms of what nodes contain which and
> > their
> > positions, etc.). Basically it is the most sustainable (in terms of
> > increasing
> > application size/scope) practice to use FXML for setting up the initial
> > scenes
> > (and perhaps also wiring event listeners)
> >
> > In the Android world it is equivalent to using the Layout Editor (similar
> > to FXML)
> > versus making the scene programmatically by calling constructors, setting
> > ownership,
> > positions, constraints, etc. There is nothing that can be done using FXML
> > that can't
> > be done using pure Java.
> >
> > Cheers,
> > Michael Ennen
> >
> >> On Thu, Sep 6, 2018 at 4:48 PM AmnoJeeuw <amnojeeuw at gmail.com> wrote:
> >>
> >> I am learning hands-on how to program using JavaFX and in the process
> >> doing so I’ve come across FXML; which I find most interesting. Since the
> >> principal is “Think hand held device first” -TH2DF, my intention is to
> >> port the my future application to Android device, but I am concerned
> >> that there will be too many issues when doing that. So, my question is,
> >> which technology should give preference to, JavaFX or FXML?
> >>
> >> Please, keep in mind that I am using a Windows 8.1 machine and
> >> Eclipse-Photon.
> >>
> >>
> >> Thanks in advance
> >>
> >> --
> >> ArbolOne
> >> Using Fire Fox and Thunderbird.
> >> Developing using Java, C/C++, HTM/CSS and JS as our platform has been
> >> exciting and most rewarding.
> >> [ Sí ]
> >>
> >>
>


More information about the openjfx-dev mailing list