Reputation: 143785
As from subject. How can I determine if the applet is running in the browser? I want to have a mock data provider to do debugging without involving the browser, and neutralize all the LiveConnect calls I have if I'm not in the browser.
Upvotes: 1
Views: 271
Reputation: 12342
Why not add a parameter for use in Eclipse? Read this on init()
and if found handle appropriately.
EDIT: Update URL.
Upvotes: 1