{
final Component parent = getReportDesignerContext().getView().getParent();
final Window window = LibSwingUtil.getWindowAncestor(parent);
if (window instanceof JDialog)
{
new AboutDialog((JDialog) window);
}
else if (window instanceof JFrame)
{
new AboutDialog((JFrame) window);
}
else
{
new AboutDialog();
}
if (e instanceof ConsumableActionEvent)
{
final ConsumableActionEvent ce = (ConsumableActionEvent) e;