Changeset 11 in josm for src/org/openstreetmap/josm/gui
- Timestamp:
- 2005-10-04T20:36:42+02:00 (20 years ago)
- Location:
- src/org/openstreetmap/josm/gui
- Files:
-
- 4 edited
-
MapView.java (modified) (1 diff)
-
PreferenceDialog.java (modified) (1 diff)
-
dialogs/SelectionListDialog.java (modified) (1 diff)
-
dialogs/ToggleDialog.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/org/openstreetmap/josm/gui/MapView.java
r9 r11 45 45 public class AutoScaleAction extends AbstractAction { 46 46 public AutoScaleAction() { 47 super("Auto Scale", new ImageIcon( "images/autoscale.png"));47 super("Auto Scale", new ImageIcon(Main.class.getResource("/images/autoscale.png"))); 48 48 putValue(MNEMONIC_KEY, KeyEvent.VK_A); 49 49 } -
src/org/openstreetmap/josm/gui/PreferenceDialog.java
r6 r11 43 43 class OkAction extends AbstractAction { 44 44 public OkAction() { 45 super("Ok", new ImageIcon( "images/ok.png"));45 super("Ok", new ImageIcon(Main.class.getResource("/images/ok.png"))); 46 46 putValue(MNEMONIC_KEY, KeyEvent.VK_ENTER); 47 47 } -
src/org/openstreetmap/josm/gui/dialogs/SelectionListDialog.java
r8 r11 71 71 getContentPane().add(new JScrollPane(displaylist), BorderLayout.CENTER); 72 72 73 JButton button = new JButton("Select", new ImageIcon( "images/mapmode/selection.png"));73 JButton button = new JButton("Select", new ImageIcon(Main.class.getResource("/images/mapmode/selection.png"))); 74 74 button.addActionListener(new ActionListener(){ 75 75 public void actionPerformed(ActionEvent e) { -
src/org/openstreetmap/josm/gui/dialogs/ToggleDialog.java
r8 r11 28 28 public ToggleDialog(String title, String name, String iconName, int mnemonic, String tooltip) { 29 29 super(Main.main, title, false); 30 putValue(SMALL_ICON, new ImageIcon( "images/dialogs/"+iconName+".png"));30 putValue(SMALL_ICON, new ImageIcon(Main.class.getResource("/images/dialogs/"+iconName+".png"))); 31 31 putValue(NAME, name); 32 32 putValue(MNEMONIC_KEY, mnemonic);
Note:
See TracChangeset
for help on using the changeset viewer.
