Is JavaFx better (i.e. simpler, cleaner, more easy, more
productive) than Swing?
Where is ready-to-use SDK with ver > x.x.2 ?
BTW, Gluon offers only "trial demo" (up to 2 patches, alike Oracle
JDK mambo-jambo with free-but-monetized licensing
scheme).
Java 8 included FX support but after that you have to download a separate jar and also contend with the "new features**" of Maven or Gradle.
"Jeffrey H. Coffield" <jeffrey@digitalsynergyinc.com> Wrote in message:
Java 8 included FX support but after that you have to download a separate jar and also contend with the "new features**" of Maven or Gradle.
I have summarize my "research".
1. It is not possible use Ant. I must use a mambo-jambo (a new
language for Gradle, new tools and mabye sign in to some
repos/services) AND again learn n-th time how to write "Hello
world" (no more EDT, a rather stupid assumption that the app ==
window, dozen objects before a single window will be created, no
chance to migrate with existing code).
2. Apache Netbeans+JDK8+JavaFx - no fun - the Fx examples does not
work at all.
3. There is no good tutorials on JavaFx. Most tutorials is on old
versions like 9.
4. The vendor lock - the only free avaliable versions are buggy -
for example 11.0.2 is buggy, the updated 11.x.x are non-free (no
avaliable compiled libs).
5. And last but also important - there is exactly one entusiast of
JavaFx - You. Nobody else answered on pros Fx.
Actually Swing is rather... mature... old... maybe obsolete. But
usefull. Java Fx is like BR discs - superior but useless. (Yep, I
have a BR drives/recorders etc. But - with the 8K, fibers,
terabyte pendrives - I don't use Bluray anymore.)
1. It is not possible use Ant
no more EDT
no chance to migrate with existing code
There is no good tutorials on JavaFx.
And last but also important - there is exactly one entusiast of
JavaFx - You. Nobody else answered on pros Fx.
Actually Swing is rather... mature... old... maybe obsolete. But
usefull
Not even here: <https://openjfx.io/openjfx-docs>?
Nobody else answered until I did now, period.
Swing is solid and if you know it well (and you *have* to know it wellin order to be proficient with it),
But it most certainly is the past. For any newly created UI that youexpect to have a meaningful lifetime, JavaFX is very likely the betterchoice.-- DF.
The Java for desktop apps is passe. Mostly due to Oracle
decisions. The Swing is old, Fx is oversophisticated and too
complicated. There is no real good choice.
Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> Wrote in
message:
Not even here: <https://openjfx.io/openjfx-docs>?
Yes. Not even there. (Docs is for docs - but I look for a simple
tutorial - not for over 1000 pages with details "how cast shadows
in 4D animations". I want learn fx in ONE WEEKEND - a form with
widgets, how to draw line, circle, write text or make xy plots.
And - most important - how to setup tools and project.
There are many resources... but about 50% outdated and 50% useless.
Nobody else answered until I did now, period.
2 person in about a week. Really a big number!
Swing is solid and if you know it well (and you *have* to know it wellin order to be proficient with it),
Swing is easy. But more important is that I can separate Swing
calls in subclasses. I can replace Swing subclasses with SWT
subclasses or AWT subclasses - because program architecture
depends on an abstract toolkit. JavaFx seems to be rather a
framework than a toolkit. It force the program architecture like
MFC and OWL do. Actually it may be hard to apply more
sophisticate concepts - because fx is about nice and colourful
but Delphi-like apps. You must create stage, scene, window - you
have no choice. I can start Swing GUI on demand, close GUI,
reopen with SWT or as TUI - without any problems.
But it most certainly is the past. For any newly created UI that youexpect to have a meaningful lifetime, JavaFX is very likely the betterchoice.-- DF.
I doubt. The Java for desktop apps is passe. Mostly due to Oracle
decisions. The Swing is old, Fx is oversophisticated and too
complicated. There is no real good choice.
----Android NewsGroup Reader----
http://usenet.sinaapp.com/
On 2020-08-07 10:52, slawek wrote:> The Java for desktop apps is passe. Mostly due to Oracle> decisions. The Swing is old, Fx is oversophisticated and too> complicated. There is no real good choice.Well, looks like you found an answer to yourquestion. Good on you!-- DF
I agree that there is no good choice, but we have to work with what is available and for now, we are more productive using FX instead of Swing. If you find a better solution, I'm all ears.
Why was I asking for JavaFx? It's simple. I have my own view on
this matter. But it is reasonable to get to know other people's
opinions. Because better decisions can be made that way. And I
even can learn something. I expected a rather affirmative
enumeration of the advantages supported by quantitative data
like: twice as fast, 20% shorter, that etc. None of this. The
black scenario has been confirmed - Java is deadend.
"Jeffrey H. Coffield" <jeffrey@digitalsynergyinc.com> Wrote in message:
I agree that there is no good choice, but we have to work with what is available and for now, we are more productive using FX instead of Swing. If you find a better solution, I'm all ears.
No, I have not. I am not FORCED to use Java. I may freely choose a
language/languages to my projects. Java was best choice in 2010.
Java is not - just for me - best choice in 2020. It is a little
sad.
----Android NewsGroup Reader----
http://usenet.sinaapp.com/
I found this yesterday, loaded on a Raspberry PI 2 and ran a full JavaFX program developed under Java 8 with no special setup after the installation.
Java 8 included FX support but after that you have to download a
separate jar and also contend with the "new features**" of Maven or Gradle.
Just too many barriers - limiting who can run you application
reliably. When it comes to Swing, *everybody* can run your
applications exactly as you indented for them too. No barriers
for the end-user.
As for Java, I don't think it's dead or close to dying. Not even for
UIs, although arguably in that respect it's unlikely to flourish either.
On 11/08/2020 11:33 am, Daniele Futtorovic wrote:> As for Java, I don't think it's dead or close to dying. Not even for> UIs, although arguably in that respect it's unlikely to flourish either.Java GUI apps are flourishing pretty well in the mostpopular mobileplatform it the world.... Android. ;-)G.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 295 |
Nodes: | 16 (2 / 14) |
Uptime: | 20:23:06 |
Calls: | 6,640 |
Files: | 12,188 |
Messages: | 5,325,290 |