[Java swing] JFileChooser in Java
JFileChooser in Java is an object display frame allows you to open or save the file. It's like this: Now we will go as a simple example of open and save files. In the code above you noticed 2 displayed in order to open and save files are different. int select = fc.showOpenDialog(this); int select = fc.showSaveDialog(this); The next argument is that you can JFileChooser.APPROVE_OPTION […]
Recent Comments