Ejemplo n.º 1
0
 public static void showLogError(String msg, String title, Exception e, Component comp) {
   JOptionPane.showMessageDialog(comp, msg, title, JOptionPane.WARNING_MESSAGE);
   Main.Logger().warning(msg + (e == null ? "" : ": " + e.getMessage()));
 }