Closed cyz1901 closed 2 years ago
You're supposed to do all window operations from within the App.start
lambda, i.e.
public class HelloWorld {
public static void main(String[] args) {
App.start(() -> {
Window window = App.makeWindow();
});
}
}
You're supposed to do all window operations from within the
App.start
lambda, i.e.public class HelloWorld { public static void main(String[] args) { App.start(() -> { Window window = App.makeWindow(); }); } }
Thank you! I think we should update the tutorial https://github.com/HumbleUI/JWM/blob/main/docs/Getting%20Started.md
<dependency>
<groupId>io.github.humbleui</groupId>
<artifactId>jwm</artifactId>
<version>0.3.1</version>
</dependency>
version 0.3.1 don't have lambad for start() function And i update version to 0.4.7 make code run success.
code:
I think the problem probably is in WindowX11.cc