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

Method setIconForWindows

src/main/java/core/packetproxy/gui/GUIMain.java:212–219  ·  view source on GitHub ↗

Windowsにアイコンを表示する

()

Source from the content-addressed store, hash-verified

210 * Windowsにアイコンを表示する
211 */
212 private void setIconForWindows() throws Exception {
213 if (!PacketProxyUtility.getInstance().isWindows()) {
214
215 return;
216 }
217 ImageIcon icon = new ImageIcon(getClass().getResource("/gui/icon.png"));
218 setIconImage(icon.getImage());
219 }
220
221 /**
222 * MacのDock上でにPacketProxyアイコンを表示する

Callers 1

setLookandFeelMethod · 0.95

Calls 3

getInstanceMethod · 0.95
getImageMethod · 0.80
isWindowsMethod · 0.45

Tested by

no test coverage detected