Page 1 of 1

PostPosted: Sun Jan 14, 2001 3:14 pm
by Admin
Keep Your Program Single Instance
On Palm PC and PocketPC, while your applet is running, if user decided to switch to another application, there is no easy to switch back to the current running applet. On Handheld PC, you have TaskBar to switch applications.

In order to solve this problem, I came up a simple solution. If you want to keep your applet single instance at all time, just make sure you use

title("put your applet name here");

When a second applet is launching, it will check if there are any existing applet with the same title. If it found one, it will exit automatically, and bring the previous applet window upfront into focus.