Ignore:
Timestamp:
17.06.2009 10:04:22 (3 years ago)
Author:
stoecker
Message:

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

File:
1 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()); 
Note: See TracChangeset for help on using the changeset viewer.