Java I/O 05. GUI File chooser

preview_player
Показать описание
This video tutorial will show you how to create a GUI so that the user may choose a file.

/**
* GUI File Chooser
* You can also have the user choose a file through a GUI
**/

public class GUIFileChooser {

public static void main(String[] args) throws Exception {

JFileChooser fileChooser = new JFileChooser();

Scanner in = new Scanner(openedFile);

}

} else {

}
}

}

Рекомендации по теме