News for hackers. Stuff that matters.
Re:Show HN: Hacker News desktop application in Kotlin/Swing by hota_mazi on Saturday October 07, 2017 @11:55PM (#15426910)
Because Sun made the boneheaded decision (and never admitted it was dumb) to go for emulated widget controls instead of native ones. What this means is that they have had to reimplement and imitate the behavior of native controls on all platforms (realistically, Windows only) every time Microsoft came up with a new version.

In contrast, IBM took the native approach with SWT / JFace, and the interfaces written with that library look and feel infinitely more native and performant than Swing and JavaFX ever did and ever will.

Re:Show HN: Hacker News desktop application in Kotlin/Swing by lmz on Sunday October 08, 2017 @01:46AM (#15427117)
The toolkit based on native widgets existed before Swing. It was called AWT.
Re:Show HN: Hacker News desktop application in Kotlin/Swing by n3dst4 on Sunday October 08, 2017 @06:44AM (#15427739)
AWT wasn't native either - it just had one ugly appearance and couldn't be themed. I seem to recall it kind of resembled Sun's CDE (Common Desktop Environment) so it would have look sort of at home on Solaris.
Re:Show HN: Hacker News desktop application in Kotlin/Swing by pvg on Sunday October 08, 2017 @07:53AM (#15427871)
AWT uses native widgets.
Re:Show HN: Hacker News desktop application in Kotlin/Swing by hota_mazi on Sunday October 08, 2017 @10:10AM (#15428256)
AWT isn't native, it uses peers.

The fact that Swing ended up being such a massive failure was in good parts due to the fact that Swing is built on top of AWT.