Package net.pms.newgui

Examples of net.pms.newgui.LooksFrame


    }

    if (remove != null) {
      externalListeners.remove(remove);
      remove.shutdown();
      LooksFrame frame = (LooksFrame) PMS.get().getFrame();
      frame.getPt().removePlugin(remove);
    }

    for (int i = 0; i < 3; i++) {
      System.gc();
    }
View Full Code Here


        instance = (ExternalListener) clazz.newInstance();
        doUpdate(update,instance.name() + " " + Messages.getString("NetworkTab.49"));
        registerListener(instance);

        if (PMS.get().getFrame() instanceof LooksFrame) {
          LooksFrame frame = (LooksFrame) PMS.get().getFrame();

          if (!frame.getPt().appendPlugin(instance)) {
            LOGGER.warn("Plugin limit of 30 has been reached");
          }
        }
      } catch (InstantiationException | IllegalAccessException e) {
        LOGGER.error("Error instantiating plugin", e);
View Full Code Here

    }

    registry = createSystemUtils();

    if (!isHeadless()) {
      frame = new LooksFrame(autoUpdater, configuration);
    } else {
      logger.info("GUI environment not available");
      logger.info("Switching to console mode");
      frame = new DummyFrame();
    }
View Full Code Here

TOP

Related Classes of net.pms.newgui.LooksFrame

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.