Ignore:
Timestamp:
2009-06-17T10:04:22+02:00 (15 years ago)
Author:
stoecker
Message:

remove all these ugly tab stops introduced in the last half year

Location:
trunk/src/org/openstreetmap/josm/gui/download
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/download/BoundingBoxSelection.java

    r1415 r1677  
    1717import javax.swing.JTextField;
    1818import javax.swing.SwingUtilities;
    19 import javax.swing.event.DocumentListener; 
    20 import javax.swing.event.DocumentEvent; 
     19import javax.swing.event.DocumentListener;
     20import javax.swing.event.DocumentEvent;
    2121
    2222import org.openstreetmap.josm.data.Bounds;
     
    7373            f.addFocusListener(dialogUpdater);
    7474        }
    75        
    76         class osmUrlRefresher implements DocumentListener { 
    77             public void changedUpdate(DocumentEvent e) { parseURL(gui); } 
    78             public void insertUpdate(DocumentEvent e) { parseURL(gui); } 
    79             public void removeUpdate(DocumentEvent e) { parseURL(gui); } 
    80         } 
    81        
     75
     76        class osmUrlRefresher implements DocumentListener {
     77            public void changedUpdate(DocumentEvent e) { parseURL(gui); }
     78            public void insertUpdate(DocumentEvent e) { parseURL(gui); }
     79            public void removeUpdate(DocumentEvent e) { parseURL(gui); }
     80        }
     81
    8282        KeyListener osmUrlKeyListener = new KeyListener() {
    8383            public void keyPressed(KeyEvent keyEvent) {}
     
    8888            public void keyTyped(KeyEvent keyEvent) {}
    8989        };
    90        
     90
    9191        osmUrl.addKeyListener(osmUrlKeyListener);
    92         osmUrl.getDocument().addDocumentListener(new osmUrlRefresher()); 
     92        osmUrl.getDocument().addDocumentListener(new osmUrlRefresher());
    9393
    9494        // select content on receiving focus. this seems to be the default in the
     
    138138        updateUrl(gui);
    139139    }
    140    
     140
    141141    private boolean parseURL(DownloadDialog gui) {
    142142        Bounds b = OsmUrlToBounds.parse(osmUrl.getText());
  • trunk/src/org/openstreetmap/josm/gui/download/OsmMapControl.java

    r1602 r1677  
    2626 * and centering by double clicking - selecting an area by clicking and dragging
    2727 * the mouse
    28  * 
     28 *
    2929 * @author Tim Haussmann
    3030 */
  • trunk/src/org/openstreetmap/josm/gui/download/SlippyMapChooser.java

    r1602 r1677  
    3333/**
    3434 * JComponent that displays the slippy map tiles
    35  * 
     35 *
    3636 * @author Tim Haussmann
    37  * 
     37 *
    3838 */
    3939public class SlippyMapChooser extends JMapViewer implements DownloadSelection {
     
    7070        setMapMarkerVisible(false);
    7171        setMinimumSize(new Dimension(350, 350 / 2));
    72         // We need to set an initial size - this prevents a wrong zoom selection for 
    73         // the area before the component has been displayed the first time   
     72        // We need to set an initial size - this prevents a wrong zoom selection for
     73        // the area before the component has been displayed the first time
    7474        setBounds(new Rectangle(getMinimumSize()));
    7575        setFileCacheEnabled(Main.pref.getBoolean("slippy_map_chooser.file_cache", true));
     
    180180     * Callback for the OsmMapControl. (Re-)Sets the start and end point of the
    181181     * selection rectangle.
    182      * 
     182     *
    183183     * @param aStart
    184184     * @param aEnd
  • trunk/src/org/openstreetmap/josm/gui/download/SourceButton.java

    r1390 r1677  
    4343                        - imageMapnik.getIconWidth(), y, null);
    4444            }else if(currentMap == CYCLEMAP){
    45                 g.drawImage(imageCycleMap.getImage(), g.getClipBounds().width
     45                g.drawImage(imageCycleMap.getImage(), g.getClipBounds().width
    4646                         - imageCycleMap.getIconWidth(), y, null);
    4747            }
Note: See TracChangeset for help on using the changeset viewer.