super(parent, "Turn Report", true);
super(parent, Messages.getString("MiniReportDisplay.title"), true);
    public MiniReportDisplay(Frame parent, String sReport) {        super(parent, "Turn Report", true);                butOkay = new Button("Okay");        butOkay.addActionListener(this);        taData = new TextArea(sReport, 20, 48);        taData.setEditable(false);        setLayout(new BorderLayout());                add(BorderLayout.SOUTH, butOkay);        add(BorderLayout.CENTER, taData);        setSize(Settings.miniReportSizeWidth, Settings.miniReportSizeHeight);        doLayout();        setLocation(Settings.miniReportPosX, Settings.miniReportPosY);        // closing the window is the same as hitting butOkay        addWindowListener(new WindowAdapter() {                public void windowClosing(WindowEvent e) {                    actionPerformed(new ActionEvent(butOkay,ActionEvent.ACTION_PERFORMED,butOkay.getLabel()));                };        });        butOkay.requestFocus();    }