Option for creating a new Legal Database
[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.util.logging.Level;
9 import java.util.logging.Logger;
10 import javax.swing.UIManager;
11 import javax.swing.UnsupportedLookAndFeelException;
12
13 /**
14 *
15 * @author hari
16 */
17 public class Habeas {
18
19 /**
20 * @param args the command line arguments
21 */
22 public static void main(String[] args) {
23 // TODO code application logic here
24 Utility.retrieveConnectionURL();
25
26 try {
27 UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());
28 } catch (ClassNotFoundException ex) {
29 Logger.getLogger(Habeas.class.getName()).log(Level.SEVERE, null, ex);
30 } catch (InstantiationException ex) {
31 Logger.getLogger(Habeas.class.getName()).log(Level.SEVERE, null, ex);
32 } catch (IllegalAccessException ex) {
33 Logger.getLogger(Habeas.class.getName()).log(Level.SEVERE, null, ex);
34 } catch (UnsupportedLookAndFeelException ex) {
35 Logger.getLogger(Habeas.class.getName()).log(Level.SEVERE, null, ex);
36 }
37
38 MainFrame frame = new MainFrame ();
39 frame.setVisible(true);
40 }
41
42 }