Stefano Borini
Stefano Borini

Reputation: 143785

how can I know if an applet is running in a browser vs. invoked from Eclipse

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

Answers (1)

Pool
Pool

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

Related Questions