setSize(550,200); setLocation(100,250);
setSize(150,200); setLocationRelativeTo(getOwner());
    public PropertiesDialog(MapEditor m) {        currentMap = m.getCurrentMap();        setSize(550,200);        setLocation(100,250);        setTitle("Map Properties");        setModal(true);    }