java file choose dialog code example Example: File file = fc.showOpenDialog File file = fc.showOpenDialog