Changeset 10779 in josm for trunk


Ignore:
Timestamp:
2016-08-10T23:42:43+02:00 (4 years ago)
Author:
Don-vip
Message:

see #12994 - Old style SideButton usage errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/DeleteFromRelationConfirmationDialog.java

    r10619 r10779  
    2020
    2121import javax.swing.AbstractAction;
     22import javax.swing.JButton;
    2223import javax.swing.JDialog;
    2324import javax.swing.JPanel;
     
    3637import org.openstreetmap.josm.gui.DefaultNameFormatter;
    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;
     
    7070    private final HtmlPanel htmlPanel = new HtmlPanel();
    7171    private boolean canceled;
    72     private final SideButton btnOK = new SideButton(new OKAction());
     72    private final JButton btnOK = new JButton(new OKAction());
    7373
    7474    protected JPanel buildRelationMemberTablePanel() {
     
    8383        pnl.add(btnOK);
    8484        btnOK.setFocusable(true);
    85         pnl.add(new SideButton(new CancelAction()));
    86         pnl.add(new SideButton(new ContextSensitiveHelpAction(ht("/Action/Delete#DeleteFromRelations"))));
     85        pnl.add(new JButton(new CancelAction()));
     86        pnl.add(new JButton(new ContextSensitiveHelpAction(ht("/Action/Delete#DeleteFromRelations"))));
    8787        return pnl;
    8888    }
Note: See TracChangeset for help on using the changeset viewer.