fun createComponent(owner: Component?): Component? { return if (java.awt.GraphicsEnvironment.isHeadless()) { null } else HeavyWeightWindow(getParentWindow(owner)) }
Creates the Component to use as the parent of the < code > Popup < /code > . The default implementation creates a < code > Window < /code > , subclasses should override .