public static void main(String[] args) {
        // TODO Auto-generated method stub
        SwingUtilities.invokeLater(new Runnable() {
            @Override
            public void run() {
                Main instance = new Main();
                instance.setVisible(true);
            }
        });
    }