I’ve been working on modernizing legacy Java Swing applications. I know Swing is often considered dead or ugly, but I wanted to prove that with the right paintComponent overrides, it can look just as modern as apps without needing the overhead of JavaFX or Chromium wrappers.
This is a standalone, zero-dependency implementation of a Button that handles: Native anti-aliasing text/shapes A lightweight engine for hover/click animations Same syntax with bonus intuitive methods
It's part of a larger project I'm working on, but I wanted to open-source this component as a reference for anyone else stuck maintaining legacy Swing codebases.
Happy to answer questions about the rendering logic!