🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: microsoft.public.internetexplorer.java
Article #2

Deploying signed Borland JBCL-based applets with IE4 - problem with CABs?

#2
From: Mark Meytin
Date: Thu, 14 Jan 1999 00:00
28 lines
2237 bytes
Hi!

I have the following problem trying to deploy an applet written using
JBCL library.  When I package everything in a CAB file (and it has to
be a CAB in order to be signed for IE), including _complete_ JBCL
library, I get a bunch of exceptions thrown by Borland's TreeControl,
complaining that it cannot find various .gif images, such as hlines.gif,
or flatLL.gif.  This is how they look like:

loadFromResource IOException name=image/flatUL.gif component=null
cl=class borland.jbcl.view.GridView
loadFromResource IOException name=image/hlines.gif
component=borland.jbcl.util.DottedLine$1[,0,0,0x0,invalid] cl=class
borland.jbcl.util.DottedLine

The workaround is to uncompress the gif files in a directory on a 
server from which the applet is loaded (keeping the tree structure),
which doesn't seem to be a very elegant solution.  It is interesting
that Swing doesn't have the same problem and seems to be able to
load it's required images (icons, etc.) from CAB files without 
problems.  So the conflict seems to be between the way Borland
loads the images and the way Microsoft packages them.  Can somebody
suggest a solution?  Since Swing works fine, I'm inclined to think
that this needs to be fixed in JBCL's source code, but if somebody
thinks otherwise, I would be more than grateful for a fix!  Thanks
in advance...

-M-
Technical Details
Message-ID: <369E3534.9D7FBB47@usa.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109f55,a7d4f8a95e30ffb0,start
X-Google-Attributes: gid109f55,public
X-Google-Thread: ff01d,a7d4f8a95e30ffb0,start
X-Google-Attributes: gidff01d,public
X-Google-Thread: fd2b1,a7d4f8a95e30ffb0,start
X-Google-Attributes: gidfd2b1,public
X-Google-Thread: 10fd6d,a7d4f8a95e30ffb0,start
X-Google-Attributes: gid10fd6d,public
From: Mark Meytin <mmeytin@usa.net>
Subject: Deploying signed Borland JBCL-based applets with IE4 - problem with  CABs?
Date: 1999/01/14
Message-ID: <369E3534.9D7FBB47@usa.net>
X-Deja-AN: 432619097
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: PSINet
Mime-Version: 1.0
Newsgroups: microsoft.public.internetexplorer.java,borland.public.jbuilder.applet-issues,borland.public.jbuilder.deployment,comp.lang.java.gui