private JComponent createDetailPanel(Throwable error){
  StackTraceList stl=new StackTraceList(error);
  JScrollPane detailPane=new ExtendedJScrollPane(stl);
  detailPane.setPreferredSize(new Dimension(getWidth(),200));
  detailPane.setBorder(null);
  return detailPane;
}

private JComponent createDetailPanel ( Throwable error ) { StackTraceList stl = new StackTraceList ( error ) ; JScrollPane detailPane = new ExtendedJScrollPane ( stl ) ; detailPane . setPreferredSize ( new Dimension ( getWidth ( ) , 200 ) ) ; detailPane . setBorder ( null ) ; return detailPane ; }
creates a panel for the error details and attaches the exception to it , but doesn ' t add the panel to the dialog .
