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

Method setIcon

macos/java/WindowMac.java:105–110  ·  view source on GitHub ↗
(File icon)

Source from the content-addressed store, hash-verified

103 }
104
105 @Override
106 public Window setIcon(File icon) {
107 assert _onUIThread() : "Should be run on UI thread";
108 _nSetIcon(icon.getAbsolutePath().toString());
109 return this;
110 }
111
112 /**
113 * <p>Shortcut for {@link #setTitleVisible(boolean)}, {@link #setFullSizeContentView(boolean)}</p>

Callers

nothing calls this directly

Calls 3

_nSetIconMethod · 0.95
_onUIThreadMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected