@@ -0,0 +1,362 @@
+package chapter15;%0A%0Aimport java.io.IOException;%0A%0Aimport javax.swing.JFrame;%0A%0Apublic class JFileChooserTest %7B%0A%0A%09public static void main(String%5B%5D args) throws IOException %7B%0A%09%09JFileChooserDemo application = new JFileChooserDemo();%0A%09%09application.setSize(400, 400);%0A%09%09application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);%0A%09%09application.setVisible(true);%0A%09%7D%0A%09%0A%7D%0A

Create JFileChooserTest.java