01: package org.jsqltool;
02:
03: import javax.swing.UIManager;
04: import java.awt.*;
05: import org.jsqltool.gui.*;
06: import java.io.*;
07: import java.net.URL;
08:
09: /**
10: * <p>Title: JSqlTool Project</p>
11: * <p>Description: This is the main class, used to start the application.
12: * </p>
13: * <p>Copyright: Copyright (C) 2006 Mauro Carniel</p>
14: *
15: * <p> This file is part of JSqlTool project.
16: * This library is free software; you can redistribute it and/or
17: * modify it under the terms of the (LGPL) Lesser General Public
18: * License as published by the Free Software Foundation;
19: *
20: * GNU LESSER GENERAL PUBLIC LICENSE
21: * Version 2.1, February 1999
22: *
23: * This library is distributed in the hope that it will be useful,
24: * but WITHOUT ANY WARRANTY; without even the implied warranty of
25: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
26: * Library General Public License for more details.
27: *
28: * You should have received a copy of the GNU Library General Public
29: * License along with this library; if not, write to the Free
30: * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
31: *
32: * The author may be contacted at:
33: * maurocarniel@tin.it</p>
34: *
35: * @author Mauro Carniel
36: * @version 1.0
37: */
38: public class MainApp {
39:
40: /**
41: * Create the main frame.
42: */
43: public MainApp() {
44: MainFrame frame = new MainFrame();
45: frame.setVisible(true);
46: }
47:
48: // main method
49: public static void main(String[] args) {
50: try {
51: UIManager.setLookAndFeel(UIManager
52: .getSystemLookAndFeelClassName());
53: } catch (Exception e) {
54: e.printStackTrace();
55: }
56: new MainApp();
57: }
58: }
|