Changeset 13071 in josm for trunk


Ignore:
Timestamp:
2017-11-02T13:36:17+01:00 (6 years ago)
Author:
Don-vip
Message:

fix #12994 - Old style SideButton usage errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/io/UploadSelectionDialog.java

    r12678 r13071  
    2121import javax.swing.Action;
    2222import javax.swing.BorderFactory;
     23import javax.swing.JButton;
    2324import javax.swing.JDialog;
    2425import javax.swing.JLabel;
     
    3637import org.openstreetmap.josm.data.osm.OsmPrimitiveType;
    3738import org.openstreetmap.josm.gui.OsmPrimitivRenderer;
    38 import org.openstreetmap.josm.gui.SideButton;
    3939import org.openstreetmap.josm.gui.help.ContextSensitiveHelpAction;
    4040import org.openstreetmap.josm.gui.help.HelpUtil;
     
    5555    private JSplitPane spLists;
    5656    private boolean canceled;
    57     private SideButton btnContinue;
     57    private JButton btnContinue;
    5858
    5959    /**
     
    8989        JPanel pnl = new JPanel(new FlowLayout());
    9090        ContinueAction continueAction = new ContinueAction();
    91         btnContinue = new SideButton(continueAction);
     91        btnContinue = new JButton(continueAction);
    9292        pnl.add(btnContinue);
    9393        btnContinue.setFocusable(true);
     
    9595        lstSelectedPrimitives.getSelectionModel().addListSelectionListener(continueAction);
    9696
    97         pnl.add(new SideButton(new CancelAction()));
    98         pnl.add(new SideButton(new ContextSensitiveHelpAction(HelpUtil.ht("/Dialog/UploadSelection"))));
     97        pnl.add(new JButton(new CancelAction()));
     98        pnl.add(new JButton(new ContextSensitiveHelpAction(HelpUtil.ht("/Dialog/UploadSelection"))));
    9999        return pnl;
    100100    }
Note: See TracChangeset for help on using the changeset viewer.