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

Method showDialog

src/javajs/async/AsyncColorChooser.java:26–30  ·  view source on GitHub ↗
(Component component, String title, Color initialColor, ActionListener listener)

Source from the content-addressed store, hash-verified

24 private Color selectedColor;
25
26 public void showDialog(Component component, String title, Color initialColor, ActionListener listener) {
27 setListener(listener);
28 process(JColorChooser.showDialog(component, title, initialColor));
29 unsetListener();
30 }
31
32 public Color getSelectedColor() {
33 return selectedColor;

Callers

nothing calls this directly

Calls 3

setListenerMethod · 0.95
processMethod · 0.95
unsetListenerMethod · 0.95

Tested by

no test coverage detected