This unit contains function: JustOne, which allows to easy prevent running of two instances of the applet.
function JustOne( const Identifier : String ) : Boolean;
Call this function AFTER the creting of Applet to test if this
instance of the applet is first. It is possible to call it before creating of forms but
when JustOne is running, applet button window is created (You may set Applet.Visible to
False to prevent its showing). It is sufficient not to run applet further if False is
returned to prevent starting of other instances of the applet.
Define string parameter what You assume to be unique, e.g. 'My program,
what doing something and written at ...'. It is using to create global system mutexes and
must be unique.