So a couple days ago I had several working Java applications using the Swing library, JFrame in particular. They all worked perfectly fine and now
You can try to change a JRE you are currently using. Go to the "Run Configuration" of your project and change a JRE from your project's default to a Java Platform "standard" version.