X-Git-Url: https://harishankar.org/repos/?p=habeas.git;a=blobdiff_plain;f=src%2Fhabeas%2FHabeas.java;h=2bfb0387f7436760d099aab0e496254c75003a88;hp=b1782f3f4ed94b2af6d91e5761e5b17da4ddf45a;hb=ebe8c5c1a1ff2d63aca4d844887f39d763272eac;hpb=5b12182f8ba1ad6811d37ba582095b45a34fde2f diff --git a/src/habeas/Habeas.java b/src/habeas/Habeas.java index b1782f3..2bfb038 100644 --- a/src/habeas/Habeas.java +++ b/src/habeas/Habeas.java @@ -22,16 +22,11 @@ public class Habeas { public static void main(String[] args) { // TODO code application logic here 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); }