3 Replies Latest reply: May 9, 2012 12:35 AM by 817264 RSS

    is there a way to tell if you are in Web Start or Standalone mode


      I am working on a program that can be ran either in Web Start or Standalone mode. Is there a way I can tell inside the code which mode I am in?

      The reason why I ask is because if I am in Web Start mode I store files using the PersistenceService api... but of course this will not work in Standalone mode. So in Standalone mode I want to just store in working directory.