3 Replies Latest reply: May 9, 2012 12:29 AM by jmart RSS

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

    jmart
      Hello,

      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.


      thanks
      jose