public void init()
   {
   if ( getAppletContext().toString().startsWith ( "netscape.applet.MozillaAppletContext" ) )
      {
      environment = NETSCAPE_BROWSER;
      }
   else if ( getAppletContext().toString().startsWith ( "com.ms.applet.GenericAppletContext" ) )
      {
      environment = MICROSOFT_BROWSER;
      }
   else if ( getAppletContext().toString().startsWith ( "sunw.hotjava.tags.TagAppletPanel" ) )
      {
      environment = HOTJAVA_BROWSER;
      }
   else if ( getAppletContext().toString().startsWith ( "sun.applet.AppletViewer" ) )
      {
      environment = APPLETVIEWER;
      }
   }