Initial Commit
[habeas.git] / src / habeas / Habeas.java
1 /*
2 * To change this license header, choose License Headers in Project Properties.
3 * To change this template file, choose Tools | Templates
4 * and open the template in the editor.
5 */
6 package habeas;
7
8 import java.sql.*;
9 import java.util.logging.Level;
10 import java.util.logging.Logger;
11 import javax.swing.UIManager;
12 import javax.swing.UnsupportedLookAndFeelException;
13
14 /**
15 *
16 * @author hari
17 */
18 public class Habeas {
19
20 /**
21 * @param args the command line arguments
22 */
23 public static void main(String[] args) {
24 // TODO code application logic here
25 Utility.getConnectionURL();
26
27 try {
28 UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
29 } catch (ClassNotFoundException ex) {
30 Logger.getLogger(Habeas.class.getName()).log(Level.SEVERE, null, ex);
31 } catch (InstantiationException ex) {
32 Logger.getLogger(Habeas.class.getName()).log(Level.SEVERE, null, ex);
33 } catch (IllegalAccessException ex) {
34 Logger.getLogger(Habeas.class.getName()).log(Level.SEVERE, null, ex);
35 } catch (UnsupportedLookAndFeelException ex) {
36 Logger.getLogger(Habeas.class.getName()).log(Level.SEVERE, null, ex);
37 }
38
39 MainFrame frame = new MainFrame ();
40 frame.setVisible(true);
41 }
42
43 }