Ignore:
Timestamp:
Apr 30, 2013, 2:05:15 AM (12 years ago)
Author:
alloc
Message:

AEI2.07:

  • Allow for non-ISO-8859-1 characters in properties files (more exactly require them to be UTF8)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • java/installer2/src/net/oni2/aeinstaller/gui/corepackages/CorePackagesDialog.java

    r720 r840  
    1818import net.oni2.aeinstaller.gui.modtable.ModTable.ETableContentType;
    1919import net.oni2.aeinstaller.gui.packageinfobox.PackageInfoBox;
     20import net.oni2.resourcebundle.UTF8ResourceBundleLoader;
    2021
    2122import org.javabuilders.BuildResult;
     
    2829        private static final long serialVersionUID = -5444213842599816301L;
    2930
    30         private ResourceBundle bundle = ResourceBundle
     31        private ResourceBundle bundle = UTF8ResourceBundleLoader
    3132                        .getBundle("net.oni2.aeinstaller.localization."
    3233                                        + getClass().getSimpleName());
     
    6061                getRootPane().getActionMap().put("close", closeAction);
    6162
    62                 contents.setDividerLocation(SettingsManager.getInstance().get("win_core_divloc", 550));
     63                contents.setDividerLocation(SettingsManager.getInstance().get(
     64                                "win_core_divloc", 550));
    6365                contents.setResizeWeight(0.4);
    6466
     
    6971                tblTools.addModSelectionListener(this);
    7072
    71                 setSize(SettingsManager.getInstance().get("win_core_width", 950), SettingsManager.getInstance().get("win_core_height", 600));
     73                setSize(SettingsManager.getInstance().get("win_core_width", 950),
     74                                SettingsManager.getInstance().get("win_core_height", 600));
    7275                setLocationRelativeTo(null);
    7376        }
     
    8083        @SuppressWarnings("unused")
    8184        private void closing() {
    82                 SettingsManager.getInstance().put("win_core_divloc", contents.getDividerLocation());
     85                SettingsManager.getInstance().put("win_core_divloc",
     86                                contents.getDividerLocation());
    8387                SettingsManager.getInstance().put("win_core_width", getWidth());
    8488                SettingsManager.getInstance().put("win_core_height", getHeight());
Note: See TracChangeset for help on using the changeset viewer.