Its just a standard java program, so neither :s
code is something like this:-
public static void main (String [] args)
{
JFileChooser fc = new JFileChooser();
int returnVal = fc.showOpenDialog(this);
System.out.println(returnVal);
System.out.println(fc.getSelectedFile());
}
but I just wanna open the filechooser to point at a given dir