return new JDialog ();
if (parentWindow instanceof JFrame)
return new JDialog ((JFrame)parentWindow);
if (parentWindow instanceof JDialog)
return new JDialog ((JDialog)parentWindow);
throw new CreatorException (decodeEngine, null, this, parentNS, parentTag, elm, parentObj);
}