Changeset 2003 in josm


Ignore:
Timestamp:
Aug 29, 2009 11:24:21 AM (4 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.