/Users/lyon/j4p/src/j2d/ImageTabbedFrame.java
|
1 /*
2 * Created by DocJava, Inc.
3 * User: lyon
4 * Date: Mar 3, 2003
5 * Time: 5:45:44 PM
6 */
7 package j2d;
8
9 import javax.swing.*;
10 import java.awt.*;
11
12 public class ImageTabbedFrame extends JFrame {
13
14 public ImageTabbedFrame(ImageProcessListener ipl) {
15 Container c = super.getContentPane();
16
17 c.setLayout(new FlowLayout());
18
19 c.add(new ImageTabbedPane(ipl));
20 setSize(400, 400);
21
22 setDefaultCloseOperation(DISPOSE_ON_CLOSE);
23 pack();
24 setVisible(true);
25 }
26 }
27