Ignore:
Timestamp:
2006-04-25T00:11:38+02:00 (20 years ago)
Author:
imi
Message:
  • added Applet version of JOSM (unfinished)
  • fixed display bug if --no-fullscreen and --geometry was specified
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/org/openstreetmap/josm/actions/DiskAccessAction.java

    r86 r98  
    4444                fc.setAcceptAllFileFilterUsed(true);
    4545       
    46                 int answer = open ? fc.showOpenDialog(Main.main) : fc.showSaveDialog(Main.main);
     46                int answer = open ? fc.showOpenDialog(Main.parent) : fc.showSaveDialog(Main.parent);
    4747                if (answer != JFileChooser.APPROVE_OPTION)
    4848                        return null;
     
    5454                        File file = fc.getSelectedFile();
    5555                        if (file == null || (file.exists() && JOptionPane.YES_OPTION !=
    56                                         JOptionPane.showConfirmDialog(Main.main, "File exists. Overwrite?", "Overwrite", JOptionPane.YES_NO_OPTION)))
     56                                        JOptionPane.showConfirmDialog(Main.parent, "File exists. Overwrite?", "Overwrite", JOptionPane.YES_NO_OPTION)))
    5757                                return null;
    5858                }
Note: See TracChangeset for help on using the changeset viewer.