Changeset 5895 in josm


Ignore:
Timestamp:
2013-04-21T14:30:19+02:00 (11 years ago)
Author:
Don-vip
Message:

fix #8613 - workaround for JDK bug 7027598/7100524/7169912 (set drop target to null)

File:
1 edited

Legend:

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

    r5886 r5895  
    7979    }
    8080
     81    /**
     82     * Constructs a new {@code PleaseWaitDialog}.
     83     * @param parent the {@code Component} from which the dialog is displayed. Can be {@code null}.
     84     */
    8185    public PleaseWaitDialog(Component parent) {
    8286        super(JOptionPane.getFrameForComponent(parent), ModalityType.DOCUMENT_MODAL);
     
    9195    protected void adjustLayout() {
    9296        invalidate();
     97        setDropTarget(null); // Workaround to JDK bug 7027598/7100524/7169912 (#8613)
    9398        pack();
    9499        setSize(Main.pref.getInteger("progressdialog.size", 600), getSize().height);
Note: See TracChangeset for help on using the changeset viewer.