MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / startGUI

Method startGUI

src/main/java/core/packetproxy/PacketProxy.java:95–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

93 }
94
95 private void startGUI() throws Exception {
96 String version = "1.0.0";
97 InputStream versionStream = getClass().getResourceAsStream("/version");
98 if (versionStream != null) {
99
100 version = IOUtils.toString(versionStream);
101 }
102 gui = GUIMain.getInstance(String.format("PacketProxy %s", version));
103 gui.setVisible(true);
104 }
105}

Callers 1

startMethod · 0.95

Calls 3

getInstanceMethod · 0.95
toStringMethod · 0.45
formatMethod · 0.45

Tested by

no test coverage detected