Is Java Swing need JDK 1.8 version or it can run in any JDK Versions.Because JDK latest Version didn't support applets and AWT programs
CodePudding user response:
Swing runs in everything from java 1.1 (30 years old at this point) to JDK18 (released 2 days ago). AWT is still supported (Swing is built on top of it, even, certain parts anyway). Whomever told you that 'AWT programs are not supported' is misinformed.
Applets are no longer supported - that's true. Haven't been for decades.
CodePudding user response:
Swing
Answer by rzwitserloot is correct.
Swing is a required part of Java, always included, still supported, but no longer under active development.
JavaFX
Swing’s replacement, JavaFX, is under active development as OpenJFX. The project is co-led by Gluon and Oracle.
OpenJFX libraries are available to add to your project. Alternatively, at least two vendors bundle the OpenJFX libraries with an edition of their JDK offering: ZuluFX by Azul Systems, and LibericaFX by BellSoft.
See white paper by Oracle: Java Client Roadmap Update, 2020-05.