import java.io.*;
import java.awt.*;
import javax.swing.*;
/** This is the Main class for the Database viewer GUI application
*
*/
public class MovieMania extends JFrame
{
public MovieMania()
{
super("Movie Mania");
// Load tabs
JTabbedPane tabs = new JTabbedPane();
tabs.add("MovieDB", new ValidMoviesPanel());
tabs.add("Errors", new InvalidMoviesPanel());
// Add elements to Frame and make it visible
this.setPreferredSize(new Dimension(500, 500));
this.add(tabs);
this.pack();
this.setVisible(true);
}
public static void main(String[] args)
{
new MovieMania();
}
} Powered by
GeSHi Syntax Highlighting software.
Author of all (other) material unless otherwise specified:
Loren Segal. Copyright 2005.