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

Method setWindowPosition

shared/java/Window.java:152–153  ·  view source on GitHub ↗

Set window position on the screen. Affects window rect and positions window top-left corner, which includes window frame and decorations. For precise window content area positioning you must take into account window decorations and correct this function input. Position is in

(int left, int top)

Source from the content-addressed store, hash-verified

150 * @see <a href="https://github.com/HumbleUI/JWM/blob/main/docs/Getting%20Started.md">Getting Started</a>
151 */
152 @NotNull @Contract("-> this")
153 public abstract Window setWindowPosition(int left, int top);
154
155 /**
156 * <p>Set window size on the screen.</p>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected