Java GUI - TechnionYP5779/SimuMole GitHub Wiki

We can create a GUI using these Java libraries

  • AWT (Abstract Window Toolkit) - Mostly obsolete, contains all of the classes for creating user interfaces and for painting graphics and images.

  • Swing - Released to enhance AWT, provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.

  • JavaFX - Released to replace Swing as the standard GUI library - also supports 3D graphics.

Since JavaFX is the latest stable Java GUI library and intended standard it will be considered over AWT and Swing

Pros

  • All team members are already familiar with Java.
  • Write once, run anywhere.
  • Easy to create a simple and "modern" GUI.
  • Supports 3D applications, see the entry for JavaFX in the wiki under Physical Engine.

Cons

  • Can't deploy as a web application.
  • A GUI written with JavaFX is only viable to use if and only if we use JavaFX and our Physical Engine.

Conclusions

JavaFX can be used to create a simple GUI very quickly, displaying JavaFX 3D animations, but we should look at the conclusions from the Physical Engine tab before making a decision.