public int showOpenDialog(Component parent) throws HeadlessException {
  setDialogType(OPEN_DIALOG);
  return showDialog(parent,null);
}

public int showOpenDialog ( Component parent ) throws HeadlessException { setDialogType ( OPEN_DIALOG ) ; return showDialog ( parent , null ) ; }
pops up an " open file " file chooser dialog . note that the text that appears in the approve button is determined by the l & amp ; f .
