diff --git a/src/org/nwapw/abacus/Abacus.java b/src/org/nwapw/abacus/Abacus.java index 50b6bf7..74441d3 100644 --- a/src/org/nwapw/abacus/Abacus.java +++ b/src/org/nwapw/abacus/Abacus.java @@ -1,9 +1,29 @@ package org.nwapw.abacus; +import org.nwapw.abacus.window.Window; + +import javax.swing.*; + public class Abacus { + private Window mainUi; + + public Abacus(){ + init(); + } + + private void init() { + try { + UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); + } catch (ClassNotFoundException | InstantiationException | UnsupportedLookAndFeelException | IllegalAccessException e) { + e.printStackTrace(); + } + mainUi = new Window(); + mainUi.setVisible(true); + } + public static void main(String[] args){ - System.out.println("Hello world!"); + new Abacus(); } }