// Set up the launcher and load login frame
LoginFrame frame = new MetroLoginFrame();
try {
@SuppressWarnings("unused")
Launcher launcher = new Launcher(new GameUpdater(), new GameLauncher(), frame);
} catch (IOException failure) {
failure.printStackTrace();
ErrorDialog dialog = new ErrorDialog(frame, failure);
splash.dispose();
frame.setVisible(true);