Changeset 1415 in josm for trunk/src/org/openstreetmap/josm/gui/ExtendedDialog.java
- Timestamp:
- 2009-02-16T15:14:34+01:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/ExtendedDialog.java
r1397 r1415 4 4 import java.awt.Dimension; 5 5 import java.awt.event.ActionEvent; 6 import java.awt.event.ComponentEvent;7 import java.awt.event.ComponentListener;8 6 import java.awt.GridBagLayout; 9 7 import java.awt.Toolkit; … … 11 9 import javax.swing.AbstractAction; 12 10 import javax.swing.Action; 13 import javax.swing.BorderFactory;14 import javax.swing.BoundedRangeModel;15 import javax.swing.InputMap;16 11 import javax.swing.JButton; 17 12 import javax.swing.JComponent; … … 19 14 import javax.swing.JOptionPane; 20 15 import javax.swing.JPanel; 21 import javax.swing.JRootPane;22 16 import javax.swing.JScrollBar; 23 17 import javax.swing.JScrollPane; 24 18 import javax.swing.KeyStroke; 25 19 26 import org.openstreetmap.josm.Main;27 20 import org.openstreetmap.josm.gui.JMultilineLabel; 28 21 import org.openstreetmap.josm.tools.GBC; 29 import org.openstreetmap.josm.tools.I18n;30 22 import org.openstreetmap.josm.tools.ImageProvider; 31 23 … … 37 29 /** 38 30 * 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 size40 * @param StringThe text that will be shown in the window titlebar41 * @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 buttons43 * @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. 44 36 */ 45 37 public ExtendedDialog(Component parent, String title, Component content, String[] buttonTexts, String[] buttonIcons) {
Note:
See TracChangeset
for help on using the changeset viewer.
