org.jSyncManager.Client.GUIParts
Class DetailedErrorMessageDialog
JDialogorg.jSyncManager.Client.GUIParts.DetailedErrorMessageDialog
public class DetailedErrorMessageDialog
extends JDialog
A class to provide an error dialog that can contain a detailed error message.
static void | main(args[] )- A main entry point for testing this dialog class.
|
void | setDescriptionText(String description)- Sets the text describing the description of the error.
|
void | setDetailsText(String message)- Sets the text describing the details of the error.
|
void | setDetailsText(Throwable t)- Sets the text describing the details of the error.
|
void | setErrorText(String error)- Sets the text describing the error message.
|
void | setErrorText(Throwable error)- Sets the text describing the error message.
|
void | show()- Shows this dialog.
|
DetailedErrorMessageDialog
public DetailedErrorMessageDialog()
Constructs a new instance of the DetailedErrorMessageDialog.
DetailedErrorMessageDialog
public DetailedErrorMessageDialog(JDialog owner,
String title)Constructs a new instance of the DetailedErrorMessageDialog with the specified owner and title.
owner - the JDialog that owns this dialog.title - the title to use on this dialog.
main
public static final void main(args[] )
A main entry point for testing this dialog class.
If you're not sure what will go where when you create this dialog class, run this method for a demo.
setDescriptionText
public void setDescriptionText(String description)
Sets the text describing the description of the error.
description - text describing the description of the error.
setDetailsText
public void setDetailsText(String message)
Sets the text describing the details of the error.
message - text describing the details of the error.
setDetailsText
public void setDetailsText(Throwable t)
Sets the text describing the details of the error.
t - a Throwable object containing the details of the error.
setErrorText
public void setErrorText(String error)
Sets the text describing the error message.
error - text describing the error message.
setErrorText
public void setErrorText(Throwable error)
Sets the text describing the error message.
error - a Throwable object containing the error message.
show
public void show()
Shows this dialog.