MCPcopy Create free account
hub / github.com/HumbleUI/JWM / main

Method main

docs/GettingStarted.java:5–11  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

3
4public class GettingStarted {
5 public static void main(String[] args) {
6 App.start(() -> {
7 Window window = App.makeWindow();
8 window.setEventListener(new EventHandler(window));
9 window.setVisible(true);
10 });
11 }
12}
13
14class EventHandler implements Consumer<Event> {

Callers 4

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 4

startMethod · 0.95
makeWindowMethod · 0.95
setEventListenerMethod · 0.95
setVisibleMethod · 0.95

Tested by

no test coverage detected