MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / jOpen

Method jOpen

ij/src/main/java/ij/io/OpenDialog.java:122–130  ·  view source on GitHub ↗
(String title, String path, String fileName)

Source from the content-addressed store, hash-verified

120
121 // Uses JFileChooser to display file open dialog box.
122 void jOpen(String title, String path, String fileName) {
123 LookAndFeel saveLookAndFeel = Java2.getLookAndFeel();
124 Java2.setSystemLookAndFeel();
125 if (EventQueue.isDispatchThread())
126 jOpenDispatchThread(title, path, fileName);
127 else
128 jOpenInvokeAndWait(title, path, fileName);
129 Java2.setLookAndFeel(saveLookAndFeel);
130 }
131
132 // Uses the JFileChooser class to display the dialog box.
133 // Assumes we are running on the event dispatch thread

Callers 1

OpenDialogMethod · 0.95

Calls 5

getLookAndFeelMethod · 0.95
setSystemLookAndFeelMethod · 0.95
jOpenDispatchThreadMethod · 0.95
jOpenInvokeAndWaitMethod · 0.95
setLookAndFeelMethod · 0.95

Tested by

no test coverage detected