if (saveStyleDefinition(activeContext, target))
{
return true;
}
final ExceptionDialog exceptionDialog;
final Window window = LibSwingUtil.getWindowAncestor(parent);
if (window instanceof Dialog)
{
exceptionDialog = new ExceptionDialog((Dialog) window);
}
else if (window instanceof Frame)
{
exceptionDialog = new ExceptionDialog((Frame) window);
}
else
{
exceptionDialog = new ExceptionDialog();
}
exceptionDialog.showDialog();
return false;
}