Artwork by @PublicByte, see artwork/README.md
Juklear is a Java wrapper around the popular immediate mode GUI Nuklear providing both an immediate, and a classic node graph mode for easy use.
Juklear is being developed for use in Java games without its base having external dependencies (except Nuklear of course). The Java wrapper is hand written and hides the cumbersome aspects of C behind a convenient Java interface with automatic native resource management.
The library does not depend on a particular rendering engine, but provides a way to simply plug in your own. However, an OpenGL backend for LWJGL3 will be provided in this repository too. This includes exposing the API of Nuklear, allowing a simple implementation of other rendering backends.
Currently, there are no builds available, this will change as soon as the library gets to a more complete state. In the meantime you can build it yourself, see below for more info. Examples will also be added once the library is more complete, currently the LWJGL3-OpenGL backend tests can be used as examples.
Juklear exposes the methods of Nuklear using JNI. Those methods can be used when desired, they resemble the C interface of Nuklear nearly directly.
As typical for Java, Juklear also exposes a more object oriented approach, resembling GUI Frameworks such as Swing or JavaFX. Internally the components are still using Nuklear, but the developer structures the GUI in a stateful manner, as known by other frontend libraries.