[Swing] Can swing look sexy?

I know it’s not tied to the web in any way, I just meant that it was mostly made to compete with popular RIA platforms.
My understanding is that it now sort of became the successor of Swing and that Swing won’t get more attention than bug fixing.

Believe what you will, but I’m just telling you real-life on-the-job experience there.
JavaFX is great for most things, but we did run into performance issues when dealing with things like rich-text editing and really large documents where Swing still performed very well.
This was a few years ago, so things might have improved.

Oh I agree, and I wouldn’t personally choose Swing or JavaFX for any game but I could imagine that there are some sorts of games where it could be usable. I suppose JavaFX would be useful for things like these typical free-to-play citybuilders and such, or football manager, that kind of thing. Games that are basically a traditional GUI dressed up with pretty graphics.

Anyway, I like JavaFX. I think it’s nicely designed and more flexible than Swing with much less of the pitfalls.
Still I find myself usually going for Swing anyway. The things that JavaFX is particularly good at aren’t important to me when making a desktop app.

Swing vs JavaFX is a bit like Flash vs HTML5. One on it’s way out and the other is the future. Mind you Flash hasn’t exactly died a death yet. But i would never go back to Swing now and haven’t bothered with it since JavaFX 2.0 launched.

JavaFX is supposedly the future, but so far it’s a tumbleweed - who’s making anything beyond trivial demos with it?

I’m making a WM 2014 Live Ticker for a lecture project… then again, it is a trivial application… ::slight_smile:
It probably won’t even be completed because my teammates are rather lazy… I neither have the will nor the time to program their parts too :emo:

In the end I still prefer Swing over JavaFX.

I would bet that any GUI application development companies currently using Swing will start using JavaFX for their new projects. Source: my job.

Nail on the head.
Proven technology (or ‘legacy’ if you will) is worth more if the new alternative is both ‘bleeding edge’ and ‘already irrelevant’.

I can honestly say that I’m surprised that JavaFX is generating jobs today. Not unpleasantly surprised, but still surprised.

Have seen some stuff being developed with it but it is mostly on the Netbeans Platform. NASA seem to like it too. They are doing some interesting stuff with JavaFX 3D.

[quote=“erikd,post:27,topic:48628”]
Where? I have yet to find any. :smiley:

I’ve been watching it with more than a keen interest as a way to do really fancy game GUIs overlaid on top of a “traditional” LWJGL display. We have a tedious time of it creating GUIs in XML and wiring up all the events and animation and so on, and it’d be nice to have… someone else have done it all for us :slight_smile:

The only other technology that interests me in this area is HTML5/CSS/JS rendering/processing overlaid on a Display, for which there are loads of tools and Chaz has tons of experience but we’re just missing the crucially simple “missing link” library. badlogic was working on something along those lines, and there was Awesomium too but nothing seems to have quite come together. Yet.

Cas :slight_smile:

Exactly, CSS.
That would be awesome if we could just use CSS to create a UI. Instead of hundreds of lines of code that are so also UI lib specific.

I think aayout managers are far better than CSS. I can do any layout with a a layout manager, but with CSS it’s a massive headache. CSS is full of random hacks and does not behave as expected. CSS can’t be programmed as well.

Agreed, CSS is possibly the worst way to do layout.

Indeed, I’ve already got a much better system… but what I really want to use is the vast power of some existing HTML5 rendering engine and all its clever elves.

Cas :slight_smile: