Skip to content

Instantly share code, notes, and snippets.

@eugener
Created October 16, 2010 02:56
Show Gist options
  • Save eugener/629345 to your computer and use it in GitHub Desktop.
Save eugener/629345 to your computer and use it in GitHub Desktop.
TaskDialog dlg = new TaskDialog("Application Error" );
dlg.setInstruction( "CRASH AND BURN!");
dlg.setIcon( TaskDialog.StandardIcon.ERROR );
dlg.setText( "The applicaiton has performed an illegal action. This action has been logged and reported." );
dlg.getDetails().setExpandedComponent(
new JLabel( toHtml(" javax.activity.InvalidActivityException \n " +
"at com.ezware.dialog.task.TaskDialogTestBed.main(TaskDialogTestBed.java:316)")));
dlg.show();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment