Package net.ftb.gui.dialogs

Examples of net.ftb.gui.dialogs.MapOverwriteDialog


    @Override
    protected Boolean doInBackground () throws Exception {
        String installPath = Settings.getSettings().getInstallPath();
        Map map = Map.getSelectedMap();
        if (new File(installPath, map.getSelectedCompatible() + "/minecraft/saves/" + map.getMapName()).exists()) {
            MapOverwriteDialog dialog = new MapOverwriteDialog();
            dialog.setVisible(true);
            if (overwrite) {
                FTBFileUtils.delete(new File(installPath, map.getSelectedCompatible() + "/minecraft/saves/" + map.getMapName()));
            } else {
                Logger.logInfo("Canceled map installation.");
                return false;
View Full Code Here

TOP

Related Classes of net.ftb.gui.dialogs.MapOverwriteDialog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.