I need to display error dialog (with standart red cross image) with message and Ok button.
Message is pretty big (like stack-trace) so I need to display it in scrollable area.
Should I write such dialog from scratch or swing contains something that I can reuse?
upd: found unswer myself http://www.javalobby.org/java/forums/t19012.html
The easiest way is to use TaskDialog framework. You can create all kinds of dialogs including the following:
The exception dialog can be called via
See Task Dialog for more details