| ▲ | NetMageSCW a day ago |
| Why is it no one ever seems to do it then? I have never seen a Java app look or act native on Windows. |
|
| ▲ | pacoverdi a day ago | parent | next [-] |
| A Swing application looks ugly and not native by default, but the platform allows to plug a different look'n'feel. With small effort, you can make it look nice with something like flatlaf [1]. Pretty sure there are others, I haven't done Swing UI in a while. [1] https://www.formdev.com/flatlaf/ |
|
| ▲ | cosmotic 16 hours ago | parent | prev | next [-] |
| It takes one line of code to get native look and feel in swing. Not sure why so many didn't do it. |
|
| ▲ | dingaling911 a day ago | parent | prev [-] |
| Eclipse |
| |
| ▲ | sdthjbvuiiijbb a day ago | parent | next [-] | | I haven't used Eclipse in a decade, so maybe it's changed, but back then it was very much a Java UI, not a native feeling one. | | |
| ▲ | dingaling911 a day ago | parent [-] | | I remember the Java UI, but at some point they switched to a version of Swing that made it look more native, at least on Linux. | | |
| ▲ | cowlevel a day ago | parent [-] | | Eclipse uses SWT which uses real native controls. Of course Linux doesn't have native controls - I think it uses GTK on Linux. |
|
| |
| ▲ | cosmotic 16 hours ago | parent | prev | next [-] | | Eclipsed used SWT which produced actual native controls. Swing controls are not native but look and feel native. | |
| ▲ | cyberax a day ago | parent | prev [-] | | It used SWT, which was a thin wrapper over native controls. | | |
|