MCPcopy Index your code
hub / github.com/processing/processing / setTitle

Method setTitle

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

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

(String title)

Source from the content-addressed store, hash-verified

560
561 /** Set the window (and dock, or whatever necessary) title. */
562 @Override
563 public void setTitle(String title) {
564 frame.setTitle(title);
565 // Workaround for apparent Java bug on OS X?
566 // https://github.com/processing/processing/issues/3472
567 if (cursorVisible &&
568 (PApplet.platform == PConstants.MACOSX) &&
569 (cursorType != PConstants.ARROW)) {
570 hideCursor();
571 showCursor();
572 }
573 }
574
575
576 /** 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