Live data from Hacker News

Show HN: Hacker News desktop application in Kotlin/Swing

github.com

1–10 of 92 posts

Re: Show HN: Hacker News desktop application in Kotlin/Swing

#6
post #2

Jesus. definitely looks like a swing app

Definitely got that swing feeling to it :) Is there any way to customize the theme? I'd love something that's more clean and looks more modern.

The only way is to change the Look and Feel, and unfortunately I think 'Nimbus' (which I show in one of the screenshots) is the most modern looking of the built-in Look and Feels. There may be some decent 3rd party options though... Like whatever IntelliJ is using.

Re: Show HN: Hacker News desktop application in Kotlin/Swing

#8
post #7

Has anyone successfully compiled it with the kotlinc command line tool?

Hey anon6412, so this was my first Kotlin project, and I don't really know much at all on the ecosystem. I could check out kotlinc and write up something on how to build with it—I imagine it's just adding ./lib to the classpath, though I'm not sure. There's no package structure to the source.

Re: Show HN: Hacker News desktop application in Kotlin/Swing

#9
post #2

Jesus. definitely looks like a swing app

Definitely got that swing feeling to it :) Is there any way to customize the theme? I'd love something that's more clean and looks more modern.

You can get a bit closer to native feel with JavaFX. It's still not there but it at least the default Moderna theme doesn't rock the boat like Swing does.

Thankfully JavaFX is pretty easy to customise, it's roughly writing CSS, and there's a few high quality themes out there. Take a look at JFoeniX[0] for example for a material design inspired look.

[0]: https://github.com/jfoenixadmin/JFoenix

Post reply on HN