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

Method showMessage

app/src/processing/app/Messages.java:39–49  ·  view source on GitHub ↗

"No cookie for you" type messages. Nothing fatal or all that much of a bummer, but something to notify the user about.

(String title, String message)

Source from the content-addressed store, hash-verified

37 * much of a bummer, but something to notify the user about.
38 */
39 static public void showMessage(String title, String message) {
40 if (title == null) title = "Message";
41
42 if (Base.isCommandLine()) {
43 System.out.println(title + ": " + message);
44
45 } else {
46 JOptionPane.showMessageDialog(new Frame(), message, title,
47 JOptionPane.INFORMATION_MESSAGE);
48 }
49 }
50
51
52 /**

Callers 11

discoverMethod · 0.95
handleNewCodeMethod · 0.95
handleRenameCodeMethod · 0.95
nameCodeMethod · 0.95
handleDeleteCodeMethod · 0.95
saveMethod · 0.95
saveAsMethod · 0.95
handleAddFileMethod · 0.95
removeMethod · 0.95
handleTweakMethod · 0.95

Calls 2

isCommandLineMethod · 0.95
printlnMethod · 0.45

Tested by

no test coverage detected