2017-07-24 10:04:00 -07:00
|
|
|
package org.nwapw.abacus;
|
|
|
|
|
2017-07-25 21:11:36 -07:00
|
|
|
import org.nwapw.abacus.window.Window;
|
|
|
|
|
|
|
|
import javax.swing.*;
|
|
|
|
|
2017-07-24 10:04:00 -07:00
|
|
|
public class Abacus {
|
|
|
|
|
2017-07-25 21:11:36 -07:00
|
|
|
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);
|
|
|
|
}
|
|
|
|
|
2017-07-24 10:04:00 -07:00
|
|
|
public static void main(String[] args){
|
2017-07-25 21:11:36 -07:00
|
|
|
new Abacus();
|
2017-07-24 10:04:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|