Set the window (and dock, or whatever necessary) title.
(String title)
| 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) */ |
nothing calls this directly
no test coverage detected