MCPcopy Index your code
hub / github.com/benfry/processing4 / showMessage

Method showMessage

app/src/processing/app/Messages.java:40–50  ·  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

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

Callers 13

discoverMethod · 0.95
handleNewCodeMethod · 0.95
handleRenameCodeMethod · 0.95
nameCodeMethod · 0.95
handleDeleteCodeMethod · 0.95
saveMethod · 0.95
saveAsMethod · 0.95
handleAddFileMethod · 0.95
removeModeMethod · 0.95
buildSketchMenuMethod · 0.95
buildFileMenuMethod · 0.95

Calls 2

isCommandLineMethod · 0.95
printlnMethod · 0.45

Tested by

no test coverage detected