Re: Access local COM-port on client from an Applet



On 30 Jun 2005 05:07:22 -0700, JimWilh wrote:

> The ReadPitTag.class file is in the same directory as the applet, but
> it doesn't look like the applet can contact it.

What do you mean, specifically?
The applet throws exceptions? (If so, what..?)

>.. The constructor does
> nothing but assign some variables in the class, so it's strange that
> the applet just stops there.

Got an URL for this assemblage of files?
Put it up at GeosCities or such and give us the URL.

> I forgot to say that I have to call readTag.open()

...link to the short example code from the applet page.

The (self contained) code is much more specific than
descriptions in conversation.

> ..to open the connection to the reader.

Your code is probably throwing either ClassNotFound
or SecurityAccess Exceptions, the URL and code will
help sort it quicker.

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane
.