Changeset 4191 in josm for trunk/src/org/openstreetmap/josm/gui/tagging/TagTable.java
- Timestamp:
- 2011-07-01T09:32:56+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/TagTable.java
r4120 r4191 23 23 import java.util.EventObject; 24 24 import java.util.concurrent.CopyOnWriteArrayList; 25 import java.util.logging.Level;26 import java.util.logging.Logger;27 25 28 26 import javax.swing.AbstractAction; … … 50 48 */ 51 49 public class TagTable extends JTable { 52 53 private static final Logger logger = Logger.getLogger(TagTable.class.getName());54 55 50 /** the table cell editor used by this table */ 56 51 private TagCellEditor editor = null; … … 410 405 public void setAutoCompletionManager(AutoCompletionManager autocomplete) { 411 406 if (autocomplete == null) { 412 logger.warning("argument autocomplete should not be null. Aborting.");407 System.out.println("argument autocomplete should not be null. Aborting."); 413 408 Thread.dumpStack(); 414 409 return; … … 432 427 public void addOKAccelatorListener(KeyListener l) { 433 428 addKeyListener(l); 434 if (editor == null) { 435 logger.warning("editor is null. cannot register OK accelator listener."); 436 } else { 429 if (editor != null) { 437 430 editor.getEditor().addKeyListener(l); 438 431 } … … 481 474 robot.mouseMove(before.x, before.y); 482 475 } catch(AWTException e) { 483 logger.log(Level.SEVERE, "failed to simulate mouse click event at (" + r.x + "," + r.y + "). Exception: " + e.toString());476 System.out.println("Failed to simulate mouse click event at (" + r.x + "," + r.y + "). Exception: " + e.toString()); 484 477 return; 485 478 }
Note:
See TracChangeset
for help on using the changeset viewer.