# Java Swing

20 Hacker News commenters recommended Java Swing and 17 criticized it, November 2025 to November 2026. It was recommended in 10 of 13 months.

**Verdict:** Recommended as a free, consistent cross-platform Java GUI toolkit that runs well and feels native enough. Caveat: it requires more programming and does not look native.

## Why people recommend it

- Consistent cross-platform, works everywhere (4 comments): "Swing is still easily the best, most consistent, and most native-feeling cross-platform environment." ([source](https://news.ycombinator.com/item?id=48805677)) "Works flawlessly at close to native speeds (GPU acceleration and all) on all platforms" ([source](https://news.ycombinator.com/item?id=47482395)) "semi-sucks, but it also works on windows and it actually is not that bad" ([source](https://news.ycombinator.com/item?id=49900581))
- Runs fast on modest hardware (3 comments): "Works flawlessly at close to native speeds (GPU acceleration and all) on all platforms" ([source](https://news.ycombinator.com/item?id=47482395)) "they all ran fine on much poorer hardware than a modern browser on an M1" ([source](https://news.ycombinator.com/item?id=47030311)) "It was slow in 1999, which means it's fast now." ([source](https://news.ycombinator.com/item?id=45815488))
- Fits Java, less code (2 comments): "ultimately fit the language better than trying to bridge to Win32 or GTK/QT" ([source](https://news.ycombinator.com/item?id=47477446)) "so happy we could write UIs directly and a lot less code to understand" ([source](https://news.ycombinator.com/item?id=47480247))
- Mature and battle-tested (2 comments): "It's already battle tested and deployed everywhere you have Java." ([source](https://news.ycombinator.com/item?id=47240259)) "it was Swing that gained HighDPI support first (10 years ago)" ([source](https://news.ycombinator.com/item?id=47419648))

## What people warn about

- Looks ugly, not native (2 comments): "neither really looks like native, which has been a consistent complaint about them" ([source](https://news.ycombinator.com/item?id=50136982)) "SWT and Swing will likely remain as ugly as they are for the next century" ([source](https://news.ycombinator.com/item?id=47993995))
- Feels slow and heavy (2 comments): "GUI programming with Swing felt like molasses compared to native GUIs at that time" ([source](https://news.ycombinator.com/item?id=47597547)) "did not feel lightweight at all on the hardware of the time" ([source](https://news.ycombinator.com/item?id=47231569))

## Alternatives hackers recommend

- [Qt](https://hackerapproved.com/p/qt.md): 191 recommend
- [GTK](https://hackerapproved.com/p/gtk.md): 85 recommend
- [Windows Forms](https://hackerapproved.com/p/winforms.md): 76 recommend
- [SwiftUI](https://hackerapproved.com/p/swiftui.md): 75 recommend
- [Tcl/Tk](https://hackerapproved.com/p/tcl-tk.md): 61 recommend

## Cite as

Hacker Approved, "Java Swing", https://hackerapproved.com/p/swing/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
