Is JavaFX really the future of Java Desktop development?

130 views
Skip to first unread message

PhilDin

unread,
Jun 7, 2011, 7:00:46 AM6/7/11
to The Java Posse
Hi,

With the announcement of JavaFX 2.0 beta, there seems to be a meme
doing the rounds that Swing is now deprecated. This is mentioned here
http://weblogs.java.net/blog/opinali/archive/2011/05/28/javafx-20-beta-first-impressions
(JavaSE as we know it is deprecated) and in turn, is quoted here:
http://www.javaworld.com/community/?q=node/7733.

I'm a boring old business (Swing) desktop application developer and
had assumed that Swing would continue to receive at least incremental
enhancements for the forseeable future. Furthermore, having looked at
JavaFX, it didn't seem like it was ready to replace Swing yet (most
notably, no JTable replacement).

My question is, can anyone point to any Oracle comunications about
whether Swing is to be considered deprecated?

Secondly, any of the JavaFX demo apps I've looked at have involved
simple graphical effects, no data intensive applications. If JavaFX
really is to be used for business apps, I think something like an
email client in terms of complexity would be great to see. Are there
any such demos that anyone can recommend?

Thanks,
Phil

Steven Herod

unread,
Jun 7, 2011, 8:01:36 AM6/7/11
to The Java Posse
The JavaFX 1.x series was pretty dismal for business/swing style
apps.

JavaFX 2.0 looks like its starting off on a much stronger basis, and
you should know there is a TableView control in JavaFX 2.0:
http://download.oracle.com/javafx/2.0/api/javafx/scene/control/TableView.html

Regarding Swing - Amy Fowler posted this:
http://amyfowlersblog.wordpress.com/2010/09/21/a-heartfelt-ramble-on-swing-javafx/

I'm personally of the opinion that when/if JavaFX gets enough traction
Swing will go, but until that happens they won't say too much in fear
of scaring the horses (so to speak).

And right now, no, there aren't any significant demos that I know of,
I wrote one of the complex JavaFX 1.x apps (a twitter client), I have
not (and probably won't be) ported it to JavaFX 2.0. (Mainly because
writing a Twitter client is probably a dead end activity given
Twitter's view of 3rd party devs).

I do think JavaFX is the future of Java on the Desktop.

However, the bigger question of 'Is there a future for Java on the
Desktop?' I leave open....

On Jun 7, 9:00 pm, PhilDin <ph...@tower.ie> wrote:
> Hi,
>
> With the announcement of JavaFX 2.0 beta, there seems to be a meme
> doing the rounds that Swing is now deprecated. This is mentioned herehttp://weblogs.java.net/blog/opinali/archive/2011/05/28/javafx-20-bet...

opinali

unread,
Jun 7, 2011, 5:09:55 PM6/7/11
to The Java Posse
The JavaFX Roadmap promises a set of Blueprint applications, but this
is not yet available, will probably appear later in the beta cycle or
maybe only at FCS. Hopefully these blueprints will include some good
samples of "old fashioned" GUIs, with lots of forms, grids, dialogs,
drilldowns, maybe a few serious business charts - but NO web, media,
twitter, google maps, etc.

A+
Osvaldo

On Jun 7, 8:01 am, Steven Herod <steven.he...@gmail.com> wrote:
> The JavaFX 1.x series was pretty dismal for business/swing style
> apps.
>
> JavaFX 2.0 looks like its starting off on a much stronger basis, and
> you should know there is a TableView control in JavaFX 2.0:http://download.oracle.com/javafx/2.0/api/javafx/scene/control/TableV...
>
> Regarding Swing - Amy Fowler posted this:http://amyfowlersblog.wordpress.com/2010/09/21/a-heartfelt-ramble-on-...
Reply all
Reply to author
Forward
0 new messages