Package ui.composites

Examples of ui.composites.MainWindow


    //TODO: first time setup stuff if properties file not found (download scripts from repository, and basic_settings file that hasn't  been made yet)
    //the basic settings file should contain basic quicklinks (google, others), and other presets that are deemed important

    Display.setAppName("kEllyIRC");
    final Display disp = Display.getDefault();
    MainWindow window = null;
   
    try {
      HTMLLayout h = new HTMLLayout();
      h.setTitle(KEllyBot.VERSION+ " Error Log");
      h.setLocationInfo(true);
      BasicConfigurator.configure(new FileAppender(h, "error_log.html",true));
     
      window = new MainWindow(disp);
      window.setBlockOnOpen(true);
      window.open();
      Display.getCurrent().dispose();
      RoomManager.colorset.cleanUp();
    } catch (Exception e) {
      org.apache.log4j.Logger fLog = org.apache.log4j.Logger.getLogger("log.init");
      fLog.error("Initialization failed.", e);
View Full Code Here

TOP

Related Classes of ui.composites.MainWindow

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.