Groups | Search | Server Info | Keyboard shortcuts | Login | Register
Groups > comp.lang.java.gui > #5545
| From | Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> |
|---|---|
| Newsgroups | comp.lang.java.gui |
| Subject | Re: Is JavaFx better than Swing? |
| Date | 2020-08-07 01:42 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <rgi4h1$5q9$1@dont-email.me> (permalink) |
| References | <rgbm3r$fml$1@news.icm.edu.pl> <rgemcc$pb6$1@dont-email.me> <rghhba$i0r$1@news.icm.edu.pl> |
On 2020-08-06 20:15, slawek wrote: > "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.) I did a lot of Swing back in the days. I did a little bit of JavaFX recently. I would lean towards recommending the latter over the former, for the reasons Jeff mentioned, and for some he didn't -- notably the CSS support, i.e. the separation of model and presentation, which is a huge improvement IMHO. The beans binding are really neat, too, if a bit tricky to get the hang of and clunky in tight corners. Note that you don't have to do your scenes in XML. POJC works, too. > 1. It is not possible use Ant So don't. It's an outdated tool. I don't like Gradle either, but Maven is mature and powerful. At any rate, dependency management is its own can of worms, and not limited to Swing. > no more EDT Really? <https://docs.oracle.com/javafx/2/architecture/jfxpub-architecture.htm> > no chance to migrate with existing code True. For better or for worse. > There is no good tutorials on JavaFx. Not even here: <https://openjfx.io/openjfx-docs>? > And last but also important - there is exactly one entusiast of > JavaFx - You. Nobody else answered on pros Fx. Nobody else answered until I did now, period. Would you rather you had gotten zero answers? Why did you ask then? > Actually Swing is rather... mature... old... maybe obsolete. But > usefull Swing is solid and if you know it well (and you *have* to know it well in order to be proficient with it), then it's a good choice. But it most certainly is the past. For any newly created UI that you expect to have a meaningful lifetime, JavaFX is very likely the better choice. -- DF.
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Next in thread | Find similar
Is JavaFx better than Swing? slawek <x.y@org.org> - 2020-08-04 14:59 +0200
Re: Is JavaFx better than Swing? "Jeffrey H. Coffield" <jeffrey@digitalsynergyinc.com> - 2020-08-05 09:22 -0700
Re: Is JavaFx better than Swing? slawek <x.y@org.org> - 2020-08-06 20:15 +0200
Re: Is JavaFx better than Swing? Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2020-08-07 01:42 +0200
Re: Is JavaFx better than Swing? slawek <x.y@org.org> - 2020-08-07 10:52 +0200
Re: Is JavaFx better than Swing? Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2020-08-08 02:47 +0200
Re: Is JavaFx better than Swing? slawek <x.y@org.org> - 2020-08-11 10:00 +0200
Re: Is JavaFx better than Swing? Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2020-08-11 12:33 +0200
Re: Is JavaFx better than Swing? Graeme Geldenhuys <graemeg@example.net> - 2020-10-22 22:10 +0100
Re: Is JavaFx better than Swing? slawek <x.y@org.org> - 2020-10-26 07:39 +0100
Re: Is JavaFx better than Swing? James Shisia <jamesshisia6@gmail.com> - 2022-08-23 05:48 -0700
Re: Is JavaFx better than Swing? "Jeffrey H. Coffield" <jeffrey@digitalsynergyinc.com> - 2020-08-08 09:43 -0700
Re: Is JavaFx better than Swing? slawek <x.y@org.org> - 2020-08-11 10:13 +0200
Re: Is JavaFx better than Swing? "Jeffrey H. Coffield" <jeffrey@digitalsynergyinc.com> - 2020-08-15 09:26 -0700
Re: Is JavaFx better than Swing? slawek <x.y@org.org> - 2020-08-20 14:37 +0200
Re: Is JavaFx better than Swing? Graeme Geldenhuys <graemeg@example.net> - 2020-10-22 21:09 +0100
Re: Is JavaFx better than Swing? Graeme Geldenhuys <graemeg@example.net> - 2020-10-22 21:46 +0100
csiph-web