package com.ledruide.druidecave;
import com.ledruide.druidecave.gui.Home;
import com.ledruide.druidecave.init.StartInit;
import com.ledruide.druidegui.SwapFrame;
import com.ledruide.druidegui.tools.FramesTools;
/**
* Copyright (C) 2007 Julien Revault d'Allonnes
* <p/>
* This file is part of DruideCave.
* <p/>
* DruideCave is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
* <p/>
* DruideCave is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p/>
* You should have received a copy of the GNU General Public License
* along with DruideCave; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
public class Start {
/**
* Lancement de cette classe
*
* @param args
*/
public static void main(String[] args) {
go();
}
public static void go() {
// Let's choose the theme
FramesTools.setLookAndFeelJava();
try {
new StartInit();
}
catch (Exception e) {
e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.
}
// On peut lancer l'IHM
SwapFrame.getInstance().init(Home.class);
}
}