Login  Register

Prompt user for file

Posted by John Alexander-7 on May 16, 2008; 4:18pm
URL: http://imagej.273.s1.nabble.com/Prompt-user-for-file-tp3696206.html

Hello group,

This might be embarrassingly simple - but ...

I want to prompt the user for a file - but not open it.  I just want the
path and filename.

I want something like getDirectory that returns the directory as a
string.  Something like getFile that would prompt the user with an open
box, they would select a file, and the full path of the file would be
returned.

John


--
John K. Alexander, Ph.D.
Post-Doctoral Fellow
William Green Laboratory
University of Chicago
Dept. Neurobiology, Pharmacology, and Physiology
947 East 58th Street
Abott Hall 402
Chicago, IL 60637
(off) 773-702-9386
(fax) 773-702-3774
[hidden email]