}
}
SwingUtilities.invokeLater(new Runnable() {
public void run() {
//Do some basic checks first - can League be found? are the SWF files extracted?
consoleController = new DebugController();
if (!Configuration.checkLeagueDirectory()) {
JFrame dummy = new JFrame();
JOptionPane.showMessageDialog(dummy, "Your League of Legends directory could not be found.", "Error", JOptionPane.ERROR_MESSAGE);
JFileChooser leagueFileChooser = new JFileChooser();
leagueFileChooser.setDialogTitle("Select your League of Legends Directory.");