Package de.justi.yagw2api.wrapper

Examples of de.justi.yagw2api.wrapper.IWVWWrapper


   * @throws InterruptedException
   * @throws IOException
   */
  public static void main(String[] args) {
    YAGW2APIArenanet.INSTANCE.setCurrentLocale(Locale.getDefault());
    final IWVWWrapper apiWrapper = YAGW2APIWrapper.INSTANCE.getWVWWrapper();
    final IWVWAnalyzer analyzer = YAGW2APIAnalyzer.getAnalyzer();
    YAGW2APIAnalyzerPersistence.getDefaultEM(); // startup db connection
    final MainWindow mainWindow = new MainWindow();
    try {
      mainWindow.setVisible(true);

      // start the api wrapper
      apiWrapper.start();
      mainWindow.wireUp(apiWrapper);

      // wire everything up
      apiWrapper.registerWVWMapListener(analyzer);
      apiWrapper.registerWVWMatchListener(analyzer);
    } catch (Exception e) {
      LOGGER.fatal("Uncought exception while running " + Main.class.getName() + "#main(String[])", e);
    }

    final IAnchorman anchorman = YAGW2APIAnchorman.INSTANCE.getAnchorman();
View Full Code Here

TOP

Related Classes of de.justi.yagw2api.wrapper.IWVWWrapper

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.