public SearchDialog(JFrame parent, Map map) { super(parent, "Search/Replace", false); myMap = map; init(); setLocationRelativeTo(parent);
public SearchDialog(JFrame parent) { this(parent, null);
    public SearchDialog(JFrame parent, Map map) {        super(parent, "Search/Replace", false);        myMap = map;        init();        setLocationRelativeTo(parent);    }