- Timestamp:
- 2015-04-17T20:24:40+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapFrame.java
r8071 r8201 29 29 import javax.swing.BoxLayout; 30 30 import javax.swing.ButtonGroup; 31 import javax.swing.ImageIcon; 31 32 import javax.swing.JButton; 32 33 import javax.swing.JCheckBoxMenuItem; … … 77 78 import org.openstreetmap.josm.tools.Destroyable; 78 79 import org.openstreetmap.josm.tools.GBC; 80 import org.openstreetmap.josm.tools.ImageProvider; 79 81 import org.openstreetmap.josm.tools.Shortcut; 80 82 … … 541 543 public ListAllButtonsAction(Collection<? extends HideableButton> buttons) { 542 544 this.buttons = buttons; 543 putValue(NAME, ">>");544 545 } 545 546 546 547 public void setButton(JButton button) { 547 548 this.button = button; 549 final ImageIcon icon = ImageProvider.get("audio-fwd"); 550 putValue(SMALL_ICON, icon); 551 button.setPreferredSize(new Dimension(icon.getIconWidth(), icon.getIconHeight() + 64)); 548 552 } 549 553
Note:
See TracChangeset
for help on using the changeset viewer.