if you want to run this, you may have to use the Liberica NIK version of GraalVM. Here's how i installed it:
sdk install java 23.r20-nik && sdk default java 23.r20-nik
Good luck!
wanna use Swing with GraalVM? me too! Here's an example that assumes the Liberica NIK release of Java is installed
JavaMIT