152153154155156157158159160161162
} catch (Exception e) { System.err.println("Error loading GUI: " + e.getMessage()); e.printStackTrace(); System.exit(1); } uif.run(); } } catch (Throwable t) { t.printStackTrace(); JOptionPane.showMessageDialog(null, t, "Error!", JOptionPane.ERROR_MESSAGE); }