java swing file chooser ui options code example Example: File file = fc.showOpenDialog File file = fc.showOpenDialog