Changeset 11059 in josm
- Timestamp:
- 2016-09-27T15:40:10+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/history/CoordinateInfoViewer.java
r11053 r11059 7 7 import java.awt.GridBagLayout; 8 8 import java.awt.Insets; 9 import java.awt.event.MouseAdapter; 10 import java.awt.event.MouseEvent; 9 11 10 12 import javax.swing.BorderFactory; … … 338 340 setTileSource(new OsmTileSource.Mapnik()); // for attribution 339 341 setBorder(BorderFactory.createLineBorder(Color.DARK_GRAY)); 342 addMouseListener(new MouseAdapter() { 343 @Override 344 public void mouseClicked(MouseEvent e) { 345 if (e.getButton() == MouseEvent.BUTTON1) { 346 getAttribution().handleAttribution(e.getPoint(), true); 347 } 348 } 349 }); 340 350 } 341 351
Note:
See TracChangeset
for help on using the changeset viewer.