MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / showMessageDialog

Method showMessageDialog

src/javajs/async/AsyncDialog.java:100–106  ·  view source on GitHub ↗
(Component frame, Object message, ActionListener a)

Source from the content-addressed store, hash-verified

98 }
99
100 public void showMessageDialog(Component frame, Object message, ActionListener a) {
101 setListener(a);
102 JOptionPane.showMessageDialog(frame, message);
103 unsetListener();
104 if (/** @j2sNative false || */true)
105 process("" + message);
106 }
107
108 public void showMessageDialog(Component frame, Object message, String title, ActionListener a) {
109 showMessageDialog(frame, message, title, JOptionPane.INFORMATION_MESSAGE, a);

Callers 15

createMethod · 0.80
compressListMethod · 0.80
actionPerformedMethod · 0.80
saveMethod · 0.80
saveAsMethod · 0.80
actionPerformedMethod · 0.80
searchMethod · 0.80
searchForModelMethod · 0.80
writeMethod · 0.80
pasteActionMethod · 0.80

Calls 3

setListenerMethod · 0.95
unsetListenerMethod · 0.95
processMethod · 0.95

Tested by 10

actionPerformedMethod · 0.64
showHelpMethod · 0.64
openDnDResourceMethod · 0.64
openLibraryResourceMethod · 0.64
loadIntoEditorMethod · 0.64
doInBackgroundAsyncMethod · 0.64
actionPerformedMethod · 0.64
actionPerformedMethod · 0.64
actionPerformedMethod · 0.64
actionPerformedMethod · 0.64