Improve button and keystrokes handling
continuous-integration/drone/push Build is passing

This commit is contained in:
bea
2024-08-05 21:29:02 +02:00
parent ab1a0a753c
commit a6c43fd646
4 changed files with 43 additions and 15 deletions
@@ -16,13 +16,13 @@ public class Main {
private static boolean running = true;
private static final Logger LOGGER = LogManager.getLogger(Main.class);
private static final MainWindow mainWindow = new MainWindow();
public static void main(String[] args) {
LOGGER.info("Hello world!");
registerJNativeHook();
MainWindow mainWindow = new MainWindow();
mainWindow.init();
}
@@ -41,4 +41,8 @@ public class Main {
}
}
public static MainWindow getMainWindow() {
return mainWindow;
}
}