For a long time, developing applications in Swing was the preferred method for writing cross-platform applications. Oracle has decided to put Swing in maintenance mode. So, it is no longer an option for new projects. Developers of existing projects are also looking for alternatives. Swing will still be around for a few years, but there will be no new feature development. Browser vendors discourage the use of the Java Plugin, meaning that users can no longer distribute applications using WebStart and Java Applets. Originally created as an alternative for Swing, JavaFX allows smooth transition and mix with Swing components. This paper analyzes the use of DukeScriptâ??s Java APIâ?? for Swing developers and compares it with the alternatives. It includes most advantages of HTML 5 and full Java support.