public FCoord(int number, boolean multiEdit) {
        this.number = number;
        this.multiEdit = multiEdit;

        map = initMap();
        initComponents();
        //setResizable(false);
        setLocationRelativeTo(null);
        Coord fileCoord = Data.getFiles().get(number).coor;
        
        if(!multiEdit && fileCoord != null) {          
          setMapPosition(new ImmutableCoordinate(fileCoord.getLat(), fileCoord.getLon()), 2);
          DecimalFormat df = new DecimalFormat("#.######", DecimalFormatSymbols.getInstance(Locale.US));
          GeoPosition coordinate = mapViewer.getCenterPosition();
          tCoor.setText(df.format(coordinate.getLatitude()) + ";" + df.format(coordinate.getLongitude()));
        } else if (Data.settings.coor != null && Data.settings.coorZoom != 0) {
          setMapPosition(Data.settings.coor, Data.settings.coorZoom);
        }
        setVisible(true);
        setFocusableWindowState(true);

        getRootPane().getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(escapeKeyStroke, "ESCAPE");
        getRootPane().getActionMap().put("ESCAPE", escapeAction);
    }