Changeset 2003 in josm for trunk/src


Ignore:
Timestamp:
2009-08-29T11:24:21+02:00 (15 years ago)
Author:
Gubaer
Message:

applied #3312: patch by plaicy: Set this.parent of ExtendedDialog

File:
1 edited

Legend:

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

    r1992 r2003  
    6363        lbl.setMaxWidth(Math.round(screenSize.width*2/3));
    6464
     65        this.parent = parent;
    6566        bTexts = buttonTexts;
    6667        setupDialog(lbl, buttonIcons);
     
    7778    public ExtendedDialog(Component parent, String title, String[] buttonTexts, boolean modal) {
    7879        super(JOptionPane.getFrameForComponent(parent), title, modal);
     80        this.parent = parent;
    7981        bTexts = buttonTexts;
    8082    }
Note: See TracChangeset for help on using the changeset viewer.