this is a lwjgl2 backend to java imgui, mainly made for usage in minecraft so no idea if it will work outside but it should
code quailty is absolute trash but feel free to dig in if you want
there is a minecraft 1.8.9 example renderer in examples folder soooo do whatever you want with it
Multiple Viewports, cursor icons and gamepad support are not implemented
repositories {
maven("https://jitpack.io")
}
dependencies {
implementation("com.github.koxx12-dev:ImGui-Java-Lwjgl2:1.0.0")
}
you will have to register scrollCallback and keyCallback yourself
Java ImGui contributors that wrote that lwjgl3 backend