void function ( Frame arg0 , String arg1 , File arg2 , Callback arg3 ) { selectImpl ( arg0 , arg1 , arg2 , arg3 , FileDialog . LOAD ) ; }
open a platform-specific file chooser dialog to select a file for input . after the selection is made , the selected file will be passed to the ` callback ' function . if the dialog is closed or canceled , null will be sent to the function , so that the program is not waiting for additional input . the callback is necessary because of how threading works . void setup selectinput `` select a file to process : '' , `` fileselected '' ; void fileselected file selection if selection == null println `` window was closed or the user hit cancel . '' ; else println `` user selected '' + fileseleted.getabsolutepath ; for advanced users , the method must be ` public ' , which is true for all methods inside a sketch when run from the pde , but must explicitly be set when using eclipse or other development environments . concode_field_sep boolean useNativeSelect concode_field_sep void select concode_elem_sep void selectFolder concode_elem_sep void handle concode_elem_sep void selectImpl concode_elem_sep void selectOutput