You're not too far off the mark. That demo, SwingSet2, was written in 2007 (and possibly still uses the look & feel of that time, I think), but you can run it, unchanged and probably without recompilation on JDK 22 as well as the Wakefield build (native Wayland) it seems.