- Timestamp:
- 2016-07-10T14:56:47+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/UploadDialog.java
r10105 r10525 49 49 import org.openstreetmap.josm.gui.ExtendedDialog; 50 50 import org.openstreetmap.josm.gui.HelpAwareOptionPane; 51 import org.openstreetmap.josm.gui.SideButton;52 51 import org.openstreetmap.josm.gui.help.ContextSensitiveHelpAction; 53 52 import org.openstreetmap.josm.gui.help.HelpUtil; … … 180 179 181 180 // -- upload button 182 btnUpload = new SideButton(new UploadAction(this));181 btnUpload = new JButton(new UploadAction(this)); 183 182 pnl.add(btnUpload); 184 183 btnUpload.setFocusable(true); … … 187 186 // -- cancel button 188 187 CancelAction cancelAction = new CancelAction(this); 189 pnl.add(new SideButton(cancelAction));188 pnl.add(new JButton(cancelAction)); 190 189 getRootPane().registerKeyboardAction( 191 190 cancelAction, … … 193 192 JComponent.WHEN_IN_FOCUSED_WINDOW 194 193 ); 195 pnl.add(new SideButton(new ContextSensitiveHelpAction(ht("/Dialog/Upload"))));194 pnl.add(new JButton(new ContextSensitiveHelpAction(ht("/Dialog/Upload")))); 196 195 HelpUtil.setHelpContext(getRootPane(), ht("/Dialog/Upload")); 197 196 return pnl;
Note:
See TracChangeset
for help on using the changeset viewer.