@@ -0,0 +1,933 @@
+package com.caseyweed;%0A%0Aimport javax.swing.*;%0Aimport java.awt.*;%0Aimport java.awt.image.BufferedImage;%0A%0A/**%0A * Preview panel for images.%0A *%0A * @author Casey Weed%0A * @version 1.0%0A */%0Apublic class PreviewPanel extends JFrame %7B%0A%0A    /**%0A     * Create preview panel for a single image.%0A     *%0A     * @param image Image to be displayed%0A     * @param title Title for panel%0A     */%0A    public PreviewPanel(BufferedImage image, String title) %7B%0A        // set%0A        super(title);%0A        setResizable(false);%0A        setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);%0A        setSize(image.getWidth(), image.getHeight());%0A%0A        // add content%0A        ImageIcon icon = new ImageIcon(image);%0A        JLabel label = new JLabel(icon);%0A        JPanel panel = new JPanel();%0A        panel.setLayout(new FlowLayout(FlowLayout.CENTER, 0, 0));%0A        panel.add(label);%0A%0A        // add to frame and pack%0A        add(panel);%0A        pack();%0A    %7D%0A%7D%0A

create PreviewPanel