public void run() {
                                try {
                                        MainWindow window = new MainWindow();
                                        window.frame.setVisible(true);
                                } catch (Exception e) {
                                        e.printStackTrace();
                                }
                        }