X-Git-Url: https://harishankar.org/repos/?p=habeas.git;a=blobdiff_plain;f=src%2Fhabeas%2FHabeas.java;h=bf5b72cf554f9f963425e017435181b54ba18bfd;hp=e6fa84300862d3b3c8010f3c3613164b680d2e5e;hb=03c3270b01ae96bebc93917ec9c987ec5a0dd799;hpb=9a41ac52640b4316b9b69817cb4bc1298d0bd749 diff --git a/src/habeas/Habeas.java b/src/habeas/Habeas.java index e6fa843..bf5b72c 100644 --- a/src/habeas/Habeas.java +++ b/src/habeas/Habeas.java @@ -21,20 +21,14 @@ 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); } - MainFrame frame = new MainFrame (); frame.setVisible(true); }