public static void main(String args[]) throws InstantiationException, ClassNotFoundException {
        try {
            ConnectionManager.connect();
            System.out.println("VA aparentemente");
        } catch (SQLException ex) {
            System.out.println(ex.getMessage());
            System.exit(0);
        }
        SwingUtilities.invokeLater(new Runnable() {
            @Override
            public void run() {
                MainFrame mf;
                for (LookAndFeelInfo i : UIManager.getInstalledLookAndFeels()) {
                    if ("Nimbus".equals(i.getName())) {
                        try {
                            UIManager.setLookAndFeel(i.getClassName());
                        } catch (ClassNotFoundException |
                                InstantiationException |
                                IllegalAccessException |
                                UnsupportedLookAndFeelException ex) {
                            Logger.getLogger(main.class.getName()).
                                    log(Level.SEVERE, null, ex);
                        }
                        break;
                    }
                }
                mf = new MainFrame("Biblioteca EINA");
            }
        });
    }