A simple JFrame GUI and opening a File in Java



A simple JFrame GUI and opening a File in Java

A simple JFrame GUI and opening a File in Java

Here’s an application with a basic GUI in a JFrame with a button to open a file. Classes used:
JFrame, JButton, JLabel
BufferedImage
File
IOException;
ImageIO;
JFileChooser;
FileNameExtensionFilter;

This is leading into a larger task for my ICS4U class.

Comments are closed.