Skip to content

Commit 0bcdee6

Browse files
authored
Merge pull request #106 from doubleSlashde/bugfix/revertJNativeHookVersion
revert back to old jnativehook version as when run as .jar file it throws a UnsatisfiedLinkError
2 parents ca01af9 + 0875ac9 commit 0bcdee6

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@
6767
<artifactId>flyway-core</artifactId>
6868
</dependency>
6969

70-
<!-- https://mvnrepository.com/artifact/com.github.kwhat/jnativehook -->
70+
<!-- https://mvnrepository.com/artifact/com.1stleg/jnativehook -->
7171
<dependency>
72-
<groupId>com.github.kwhat</groupId>
72+
<groupId>com.1stleg</groupId>
7373
<artifactId>jnativehook</artifactId>
74-
<version>2.2.2</version>
74+
<version>2.1.0</version>
7575
</dependency>
7676

7777
<!-- maven assembly plugin -->

src/main/java/de/doubleslash/keeptime/viewpopup/GlobalScreenListener.java

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,14 @@
2424
import java.util.logging.Level;
2525
import java.util.logging.Logger;
2626

27+
import org.jnativehook.GlobalScreen;
28+
import org.jnativehook.NativeHookException;
29+
import org.jnativehook.keyboard.NativeKeyEvent;
30+
import org.jnativehook.keyboard.NativeKeyListener;
31+
import org.jnativehook.mouse.NativeMouseEvent;
32+
import org.jnativehook.mouse.NativeMouseMotionListener;
2733
import org.slf4j.LoggerFactory;
2834

29-
import com.github.kwhat.jnativehook.GlobalScreen;
30-
import com.github.kwhat.jnativehook.NativeHookException;
31-
import com.github.kwhat.jnativehook.keyboard.NativeKeyEvent;
32-
import com.github.kwhat.jnativehook.keyboard.NativeKeyListener;
33-
import com.github.kwhat.jnativehook.mouse.NativeMouseEvent;
34-
import com.github.kwhat.jnativehook.mouse.NativeMouseMotionListener;
35-
3635
import javafx.application.Platform;
3736

3837
/**

0 commit comments

Comments
 (0)