Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a new display plugin based on JavaFX (moved from gama-issues) #3

Open
AlexisDrogoul opened this issue Jun 27, 2016 · 0 comments
Assignees

Comments

@AlexisDrogoul
Copy link
Member

AlexisDrogoul commented Jun 27, 2016

The current Java2D base for the "simple" (i.e. 2D) displays is becoming more and more obsolete and complicated to maintain at each new JDK version.

A nice (and somehow easy, now that we will probably require at least JDK 1.7 for GAMA) way to keep most of the code while using a newer technology would be to port it to JAVA FX.

Two links:

https://wiki.eclipse.org/GEF/GEF4/FX (integration of FX and SWT components)
https://github.com/jfree/fxgraphics2d (for reusing exactly the same Java2D codebase on a FX Canvas).

Once this transition is done, we will also be able to clean many things (esp. the zoom) and to change some things (because Java FX provides a complete scene graph) and maybe merge the two display technologies ? OpenGL + Java FX (they are interoperable).

(moved from https://github.com/gama-platform/gama/issues/1312)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant