MCPcopy Index your code
hub / github.com/WiringProject/Wiring / selectFolder

Method selectFolder

IDE/processing/app/Base.java:1993–2022  ·  view source on GitHub ↗

Prompt for a fodler and return it as a File object (or null). Implementation for choosing directories that handles both the Mac OS X hack to allow the native AWT file dialog, or uses the JFileChooser on other platforms. Mac AWT trick obtained from <A HREF="http://lists.apple.com/archives/java-dev/20

(String prompt, File folder, Frame frame)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

actionPerformedMethod · 0.95

Calls 3

isMacOSMethod · 0.95
getFileMethod · 0.80
getParentMethod · 0.45

Tested by

no test coverage detected