Changeset 1349 in josm for trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java
- Timestamp:
- 2009-01-31T14:17:49+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java
r1345 r1349 377 377 if(locale_text == null) 378 378 locale_text = text == null ? tr("More information about this feature") : tr(text); 379 JButton b = new JButton(locale_text);380 b.addActionListener(new ActionListener(){381 public void actionPerformed(ActionEvent e) {382 OpenBrowser.displayUrl(locale_href != null ? locale_href : href);383 }384 });385 379 p.add(new UrlLabel(locale_href, locale_text), GBC.eol().anchor(GBC.WEST)); 386 380 }
Note:
See TracChangeset
for help on using the changeset viewer.