Alex Rivera | Logout

How to "Open" and "Save" using java

Asked 2010-08-23T13:44:11.573
53

I want to make an "Open" and "Save" dialog in java. An example of what I want is in the images below:

Open:

Open file dialog

Save:

Save file dialog

How would I go about doing this?

Edit
Report

2 Answers

2

You can find an introduction to file dialogs in the Java Tutorials. Java2s also has some example code.

answered 2010-08-23T13:47:05.780
2

First off, you'll want to go through Oracle's tutorial to learn how to do basic I/O in Java.

After that, you will want to look at the tutorial on how to use a file chooser.

answered 2010-08-23T13:47:58.777

Your Answer