X-Git-Url: https://harishankar.org/repos/?p=habeas.git;a=blobdiff_plain;f=src%2Fhabeas%2FHabeas.java;h=2bfb0387f7436760d099aab0e496254c75003a88;hp=59320343689cae5dac112a4dfc7ed699320f202b;hb=ebe8c5c1a1ff2d63aca4d844887f39d763272eac;hpb=3d2f6cfab3becbf7ad69924e63b91fa7e2745fc7 diff --git a/src/habeas/Habeas.java b/src/habeas/Habeas.java index 5932034..2bfb038 100644 --- a/src/habeas/Habeas.java +++ b/src/habeas/Habeas.java @@ -5,7 +5,6 @@ */ package habeas; -import java.sql.*; import java.util.logging.Level; import java.util.logging.Logger; import javax.swing.UIManager; @@ -22,17 +21,12 @@ public class Habeas { */ public static void main(String[] args) { // TODO code application logic here - Utility.getConnectionURL(); + Utility.retrieveConnectionURL(); + Utility.retrieveStationerySettings(); try { - UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); - } catch (ClassNotFoundException ex) { - Logger.getLogger(Habeas.class.getName()).log(Level.SEVERE, null, ex); - } catch (InstantiationException ex) { - Logger.getLogger(Habeas.class.getName()).log(Level.SEVERE, null, ex); - } catch (IllegalAccessException ex) { - Logger.getLogger(Habeas.class.getName()).log(Level.SEVERE, null, ex); - } catch (UnsupportedLookAndFeelException ex) { + UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName()); + } catch (ClassNotFoundException | InstantiationException | IllegalAccessException | UnsupportedLookAndFeelException ex) { Logger.getLogger(Habeas.class.getName()).log(Level.SEVERE, null, ex); }