jnativehook
Global keyboard and mouse listeners for Java. (by kwhat)
imgui-java
JNI based binding for Dear ImGui (by SpaiR)
jnativehook | imgui-java | |
---|---|---|
11 | 5 | |
1,685 | 509 | |
- | - | |
1.9 | 6.8 | |
8 months ago | about 2 months ago | |
Java | Java | |
GNU General Public License v3.0 or later | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jnativehook
Posts with mentions or reviews of jnativehook.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-20.
-
How do you setup a Macro/AHK for whips?
IN windows I use java + java native hook (https://github.com/kwhat/jnativehook)
-
[NOOB HERE] How to include JNativeHook Library into my Javafx project?
Today, I've decided to start my first personal java project and I can't seem to include the JNativeHook library into my javafx project. This is my current pom.xml file: https://pastebin.com/SZVxmzvd JNativeHook: https://github.com/kwhat/jnativehook
- How do we automate a java application?
- Out of focus gamepad input listening
- How to exit console program running in the background with key shortcut/function
-
Is there a way to detect an key being pressed in console?
yes here is the git repo https://github.com/kwhat/jnativehook
-
How can I read user input without a GUI?
Maybe a library like jnativehook
-
Best Client
Step 4: Add https://github.com/kwhat/jnativehook to your project
- KeyListeners
-
Mouse Event scripts
The global keylistener should allow you to register global hotkeys (that means hotkeys which work no matter which application has the focus.) Java can not do this out of the box. You would need a library which utilizes OS-specific APIs. Something like this (I have never used this myself but it was the first Google result.)
imgui-java
Posts with mentions or reviews of imgui-java.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-15.
- Lets-Plot: An open-source plotting library by JetBrains
-
JavaFX 19 Released
So this makes me wonder: how common is desktop app development with Java these days? I imagine there is still a lot done for internal app, but is it still viable to ship Java apps to end users? How you handle JRE distribution in that case?
Anyway also wanna shout out Dear ImGui[0]. I've been using it recently to build an interactive UI to quite complicated networking code. So far it been great for manual testing and demos, and it's fairly low maintenance once running.
[0] https://github.com/SpaiR/imgui-java
- Basic ClickGUI
-
A go-to GUI library for Kotlin
If you aren't off-put by the Blender/Unity UI style, there's also ImGUI a possibility as it has some java bindings available.
-
GUI in LWJGL
If you want a library that has an active community and a lot of examples try out imgui (java port: https://github.com/SpaiR/imgui-java). It is a C based language but seems like the port are pretty close to the original api so you can follow not only the java docs but the c/c++ ones as well. There are a few game engines that utilizes imgui in the editor because it is lightweight, easy to extend, theme and use.
What are some alternatives?
When comparing jnativehook and imgui-java you can also consider the following projects:
JavaCPP - The missing bridge between Java and native C++
LWJGL - LWJGL is a Java library that enables cross-platform access to popular native APIs useful in the development of graphics (OpenGL, Vulkan, bgfx), audio (OpenAL, Opus), parallel computing (OpenCL, CUDA) and XR (OpenVR, LibOVR, OpenXR) applications.