super(toolkit, target, new SwingFrame(target));
super(toolkit, target, new SwingFrame(target, target.getTitle()));
    public SwingFramePeer(SwingToolkit toolkit, Frame target) {        super(toolkit, target, new SwingFrame(target));        setResizable(target.isResizable());        peerComponent.setIconifiable(true);        peerComponent.setMaximizable(true);        peerComponent.setClosable(true);        try {            peerComponent.setIcon(target.getState() == Frame.ICONIFIED);        } catch (PropertyVetoException x) {        }        setState(target.getState());        peerComponent.setTitle(target.getTitle());        // frame.setIconImage(awtFrame.getIconImage());        MenuBar mb = target.getMenuBar();        if (mb != null) {            setMenuBar(mb);        }        addToDesktop();    }