Presentation is loading. Please wait.

Presentation is loading. Please wait.

File Chooser and File I/O Alex Roberts and Caleb Powell.

Similar presentations


Presentation on theme: "File Chooser and File I/O Alex Roberts and Caleb Powell."— Presentation transcript:

1 File Chooser and File I/O Alex Roberts and Caleb Powell

2 What does the File Chooser accomplish? Easy and simple way to create a system for selecting files Output the action taken by the user Utilize Java’s inheritance abilities

3 Creation and Methods of File Chooser Declaration: Invocation:

4 But why File Choosers? Allows the common user to access files Creating it takes up one line of code Used in a lot of common programs

5 Why’s File I/O the Bees Knees? Basic read to files and write to files Edit text files without opening them (Buffered streams) Easier to code

6 Establishing and Using File I/O Declaration: Invocation:

7 Ask not what you can do for File I/O, but what File I/O can do for you. The basis for loading a save file in a video game Used in saving this power point Useful for referencing something from a previous use

8 Works Cited http://docs.oracle.com/javase/7/docs/api/java/io/BufferedRead er.html http://docs.oracle.com/javase/7/docs/api/java/io/BufferedRead er.html http://docs.oracle.com/javase/7/docs/api/java/io/BufferedWrite r.html http://docs.oracle.com/javase/7/docs/api/java/io/BufferedWrite r.html http://docs.oracle.com/javase/7/docs/api/javax/swing/JPanel.h tml http://docs.oracle.com/javase/7/docs/api/javax/swing/JPanel.h tml


Download ppt "File Chooser and File I/O Alex Roberts and Caleb Powell."

Similar presentations


Ads by Google