super(toolkit, target, new SwingDialog(target));
super(toolkit, target, new SwingDialog(target, target.getTitle()));
    public SwingDialogPeer(SwingToolkit toolkit, Dialog target) {        super(toolkit, target, new SwingDialog(target));        setTitle(target.getTitle());        setResizable(target.isResizable());        peerComponent.setIconifiable(true);        peerComponent.setMaximizable(true);        peerComponent.setClosable(true);        peerComponent.setTitle(target.getTitle());        addToDesktop();    }