This discussion is archived
3 Replies Latest reply: May 8, 2012 10:29 PM by jmart RSS

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

jmart Explorer
Currently Being Moderated
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

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points