GUI for Java in 2015
1 Java GUI Frameworks
- There are several to choose from. Listed below a few.
- We only need 2D
- Size of the resulting program.
- Here is an example QA:
https://www.quora.com/With-which-should-I-start-developing-games-libGDX-framework-or-Unity3D
1.1 Swing
- Extract from
http://www.oracle.com/technetwork/java/javafx/overview/faq-1446554.html#6
- Is JavaFX replacing Swing as the new client UI library for Java SE?
- Yes. However, Swing will remain part of the Java SE specification
for the foreseeable future, and therefore included in the
JRE. While we recommend developers to leverage JavaFX APIs as much
as possible when building new applications, it is possible to
extend a Swing application with JavaFX, allowing for a smoother
transition.
1.2 JavaFX
- Ensemble "provides a gallery of over 100 sample applications
that use a wide range of JavaFX features, such as graphics, UI
controls, animation, charts, media and WebView. Source code for
each sample and links to API documentation are also
provided. Ensemble will provide developers with an interactive
reference tool for what they can build with JavaFX."
- http://www.oracle.com/technetwork/java/javase/overview/javafx-samples-2158687.html
1.3 DukeScript
- "Create cross-platform mobile and desktop applications with Java
and HTML5. Unlike other solutions which make use of Java on the
server side, DukeScript uses Java on the client side without
relying on Oracle’s plug-in used in the past to run applets."
- "The technology runs on Android, iOS, desktop browsers, and any
HTML5/JavaScript environment."
- http://dukescript.com/
1.4 LibGDX
- Free and Open Source, Java
- HTML and CSS
- Ingress, Apparatus were developed on libGDX.
- "Publish your games on Windows, Mac, Linux, Android, iOS, BlackBerry
and HTML5, all with the same code base."
- https://libgdx.badlogicgames.com/
1.5 Unity
- Game engine.
- Displaying, and animating objects
- Physics modeling: Collision detection
- GUI
- Artificial Intelligence
- Not open source, not free, but has a free version.
- Monument Valley, Temple Run 2, Angry Birds Epic were developed on Unity.
- http://unity3d.com/