public void open(File file) throws IOException {
  checkAWTPermission();
  checkExec();
  checkActionSupport(Action.OPEN);
  checkFileValidation(file);
  peer.open(file);
}

public void open ( File file ) throws IOException { checkAWTPermission ( ) ; checkExec ( ) ; checkActionSupport ( Action . OPEN ) ; checkFileValidation ( file ) ; peer . open ( file ) ; }
launches the associated application to open the file . < p > if the specified file is a directory , the file manager of the current platform is launched to open it .
