Class ExternalTrayManager

java.lang.Object
net.i2p.desktopgui.TrayManager
net.i2p.desktopgui.ExternalTrayManager

class ExternalTrayManager extends TrayManager
When started before the router, e.g. with java -cp i2p.jar:router.jar:desktopgui.jar net.i2p.desktopgui.Main No access to context, very limited abilities. Not fully supported.
  • Constructor Details

    • ExternalTrayManager

      public ExternalTrayManager(I2PAppContext ctx, boolean useSwing)
  • Method Details

    • getMainMenu

      public PopupMenu getMainMenu()
      Description copied from class: TrayManager
      Build a popup menu, adding callbacks to the different items.
      Specified by:
      getMainMenu in class TrayManager
      Returns:
      popup menu
    • getSwingMainMenu

      public JPopupMenu getSwingMainMenu()
      Description copied from class: TrayManager
      Build a popup menu, adding callbacks to the different items.
      Specified by:
      getSwingMainMenu in class TrayManager
      Returns:
      popup menu
    • updateMenu

      protected void updateMenu()
      Update the menu
      Specified by:
      updateMenu in class TrayManager
      Since:
      0.9.26