1 package com.genimen.djeneric.util; 30 31 import javax.swing.JOptionPane ; 32 33 import com.genimen.djeneric.language.Messages; 34 import com.genimen.djeneric.ui.Util; 35 36 public class DjThreadGroup extends ThreadGroup  37 { 38 public DjThreadGroup() 39 { 40 super("DjThreadGroup"); 41 } 42 43 public void uncaughtException(Thread t, Throwable e) 44 { 45 DjLogger.log(e); 46 47 JOptionPane.showMessageDialog(Util.findActiveFrame(), e.toString(), Messages.getString("DjThreadGroup.Exception"), 48 JOptionPane.OK_OPTION); 49 } 50 51 } | Popular Tags |