Ignore:
Timestamp:
2009-02-16T15:14:34+01:00 (17 years ago)
Author:
stoecker
Message:

applied patch #2185 by bruce89

File:
1 edited

Legend:

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

    r1397 r1415  
    44import java.awt.Dimension;
    55import java.awt.event.ActionEvent;
    6 import java.awt.event.ComponentEvent;
    7 import java.awt.event.ComponentListener;
    86import java.awt.GridBagLayout;
    97import java.awt.Toolkit;
     
    119import javax.swing.AbstractAction;
    1210import javax.swing.Action;
    13 import javax.swing.BorderFactory;
    14 import javax.swing.BoundedRangeModel;
    15 import javax.swing.InputMap;
    1611import javax.swing.JButton;
    1712import javax.swing.JComponent;
     
    1914import javax.swing.JOptionPane;
    2015import javax.swing.JPanel;
    21 import javax.swing.JRootPane;
    2216import javax.swing.JScrollBar;
    2317import javax.swing.JScrollPane;
    2418import javax.swing.KeyStroke;
    2519
    26 import org.openstreetmap.josm.Main;
    2720import org.openstreetmap.josm.gui.JMultilineLabel;
    2821import org.openstreetmap.josm.tools.GBC;
    29 import org.openstreetmap.josm.tools.I18n;
    3022import org.openstreetmap.josm.tools.ImageProvider;
    3123
     
    3729    /**
    3830     * Sets up the dialog. The first button is always the default.
    39      * @param Component The parent element that will be used for position and maximum size
    40      * @param String The text that will be shown in the window titlebar
    41      * @param Component Any component that should be show above the buttons (e.g. JLabel)
    42      * @param String[] The labels that will be displayed on the buttons
    43      * @param String[] The path to the icons that will be displayed on the buttons. Path is relative to JOSM's image directory. File extensions need to be included. If a button should not have an icon pass null.
     31     * @param parent The parent element that will be used for position and maximum size
     32     * @param title The text that will be shown in the window titlebar
     33     * @param content Any component that should be show above the buttons (e.g. JLabel)
     34     * @param buttonTexts The labels that will be displayed on the buttons
     35     * @param buttonIcons The path to the icons that will be displayed on the buttons. Path is relative to JOSM's image directory. File extensions need to be included. If a button should not have an icon pass null.
    4436     */
    4537    public ExtendedDialog(Component parent, String title, Component content, String[] buttonTexts, String[] buttonIcons) {
Note: See TracChangeset for help on using the changeset viewer.