MCPcopy Create free account
hub / github.com/benfry/processing4 / setTitle

Method setTitle

core/src/processing/awt/PSurfaceAWT.java:471–482  ·  view source on GitHub ↗

Set the window (and dock, or whatever necessary) title.

(String title)

Source from the content-addressed store, hash-verified

469
470 /** Set the window (and dock, or whatever necessary) title. */
471 @Override
472 public void setTitle(String title) {
473 frame.setTitle(title);
474 // Workaround for apparent Java bug on OS X?
475 // https://github.com/processing/processing/issues/3472
476 if (cursorVisible &&
477 (PApplet.platform == PConstants.MACOS) &&
478 (cursorType != PConstants.ARROW)) {
479 hideCursor();
480 showCursor();
481 }
482 }
483
484
485 /** Set true if we want to resize things (default is not resizable) */

Callers

nothing calls this directly

Calls 3

hideCursorMethod · 0.95
showCursorMethod · 0.95
setTitleMethod · 0.65

Tested by

no test coverage detected