DFApplet / Applet Container


Subject: DFApplet / Applet Container
From: Ralph Grove (groverf@jmu.edu)
Date: Fri Oct 11 2002 - 21:15:58 MET DST


I'm trying to create an applet-based container for an agent and am using
DFApplet as a model. So far, I've done this:

1. created a SocketProxyAgent named dfproxy, using this dfproxy.inf file:
   6789
   df@grove2k:1099/Jade

  (I also tried using just "df" as the agent name on the second line.)

2. Loaded the DFApplet with this applet tag:
  <applet code="DFApplet.class" archive="jade.jar,jadeTools.jar" width =
500 height=350></applet>

   (Both jar files are located in the applet directory as well.)

At this point, the applet loads, but immediately shows a null pointer
exception.

I thought I would stop at this point and see if anyone can see an
obvious error in what I'm doing, or something I've overlooked.

If anyone has a working applet container, I would appreciate the chance
to look at the source code (java and html).

Thanks much,

-- 
Ralph F. Grove
James Madison University
groverf@jmu.edu



This archive was generated by hypermail 2a22 : Fri Oct 11 2002 - 21:17:04 MET DST