Message-Id: <199905132101.OAA20011@infoak.oak.informix.com>
Date: Thu, 13 May 1999 14:00:46 -0500
To: java-security@java.sun.com
From: Lian Duan <lian@informix.com>
Subject: using JFC ImageIcon and IE to load image
HI,
I have some problem using IE5.0 and JFC1.1 to load image from my local disk
. The error "you can't access your *.gif file" always returns . It seems
the browser complains about security issues . But the applet and image are
in the same local directory . I don't think it should cause any problem
since both file and local .
My environment is NT and developping tool is visual J++ 6.0 .
Can somebody tell me how to fix it and what the reason for that problem ?
The sample code is as following :
Icon icon = new ImageIcon("stop.gif");
JLabel label = new JLabel("Helloworld",icon,SwingConstants.RIGHT);
Thanks
Lian
----------------------------------------------------------------------------
--------------------------------------
Lian Duan
Software Engineer
Phone: 510-628-5642
Fax: 510-628-3880
Informix Software, Inc. , Oakland
Email: lian@informix.com