4 ms·
Yeah well, " I didn’t care about the looks, though, it was not a major concern" There is the difference. This post is for people who do care about the looks. (
by hutzlibu 6y ago
Yeah well, "
I didn’t care about the looks, though, it was not a major concern"
There is the difference. This post is for people who do care about the looks. (or do care, that their users care)
Some users don't care, which is fine to serve them, what they want, but most actually do.
"When people don’t laugh at Electron applications, I don’t know what could be wrong with Swing"
People do not laugh at electron apps, because they use html which is designed for good looking.
In other words, usually much better looking.
It is just not performant, unless you use native modules etc.
And native toolkits are still a thing. Gtk for linux for example.
Personally I also care about the looks, but I prefer function over form, meaning I want a functioning app first and secondly it should look good. But I like to have both.
- sime2009 6y ago> And native toolkits are still a thing. Gtk for linux for example. You mean Qt?
- _bin 6y agoI don't know why you got down-modded so much. There is no official "native" toolkit for Linux; Qt is just as native as GTK.
- panta 6y agogtk is not native (there are no native widgets on X Window System & family)
- ptx 6y agoIt's native to a user's desktop full of Gtk programs. If there were a complete Swing desktop environment, Swing apps would be native to that environment. But even Sun's Java Desktop System was based on GNOME.
- thu2111 6y agoHTML isn't designed for good looking. The default stylesheet for HTML is impossibly ugly. Heck look at HN, hardly a thing of beauty. However, most people do a lot of work to make web sites and apps attractive. You can do that work with Swing or JavaFX too. I've done it before, it was fine, I ended up with a modern web-ish feel to the UI.
- hutzlibu 6y agoBy now, html is totally designed to be good looking. Look at all the amount of work, that went into CSS and co. Things that cost me a line in CSS, like text-shadow, probably would require me to implement a shader libary in swing.
- thu2111 6y agoIn Swing, yeah. Swing focuses very much on boring business-type UI. Not in JavaFX where such shaders are pre-canned and there's a CSS dialect too. I wrote my web-like app in JavaFX. It was no big deal.
- galaxyLogic 6y ago> I want a functioning app first and secondly it should look good One thing to keep in mind is that you want a functioning app first with less than great GUI but then you also want an app that is "skinnable" in other words it should be easy to replace the look and feel without having to touch the application code. CSS-stylesheets attempt to accomplish that.