userManager = new UserManager(new File(OSUtils.getCacheStorageLocation(), "logindata"), new File(OSUtils.getDynamicStorageLocation(), "logindata"));
/*
* Execute AuthlibDLWorker swingworker. done() will enable launch button as soon as possible
*/
AuthlibDLWorker authworker = new AuthlibDLWorker(OSUtils.getDynamicStorageLocation() + File.separator + "authlib" + File.separator, "1.5.17") {
@Override
protected void done () {
if (disableLaunchButton == false) {
LaunchFrame.getInstance().getLaunch().setEnabled(true);
}
}
};
authworker.execute();
LoadingDialog.advance("Creating Console window");
SwingUtilities.invokeLater(new Runnable() {
@Override public void run () {