Re: Applet and newbie
From: A.Tamboer (a.tamboer_at_home.nl)
Date: 02/05/05
- Next message: SemperFi: "Re: org.apache.xml.resolver.tools.CatalogResolver cannot be found"
- Previous message: Sebastian Scheid: "Re: SSL/https - How to configure Tomcat?"
- In reply to: A.Tamboer: "Applet and newbie"
- Next in thread: Roland: "Re: Applet and newbie"
- Reply: Roland: "Re: Applet and newbie"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 5 Feb 2005 10:42:41 +0100
Thank for the reaction
I use the browser of Windows 98XP pro Sp2, 6.0.2900.xp_sp2. When I run the
applet in the browser I see a note "AfbApplet started" but I do not see the
"afbeelding.jpg".
When I run the applet in the NetBeans 4.0 Applet Viewer in Viewer is a note
"start applet not initialized" and in the output window of NetBeans the note
as mentioned in first request for help.
Regards Arie Tamboer
"A.Tamboer" <a.tamboer@home.nl> schreef in bericht
news:ctqsua$pb9$1@news3.zwoll1.ov.home.nl...
> When I run the applet AfbApplet, I get the remark
> "java.security.AccessControlException: access denied
> (java.io.FilePermission \C:\Documents and
> Settings\.....\hfst09\build\afbeelding.jpg read)"
>
> The hmtl doc. and jpg doc are in same "\build\" folder.
>
> What is wrong?
>
> Thanks
>
> Arie Tamboer
>
>
>
> public class AfbApplet extends java.applet.Applet {
>
>
>
> public void init() {
>
> url = getDocumentBase();
>
> image = getImage(url , "afbeelding.jpg");
>
> }
>
>
>
> private URL url;
>
> private Image image;
>
>
>
> public void paint(Graphics g) {
>
> g.drawImage(image , 10 ,50 ,this);
>
> }
>
>
>
> }
>
>
- Next message: SemperFi: "Re: org.apache.xml.resolver.tools.CatalogResolver cannot be found"
- Previous message: Sebastian Scheid: "Re: SSL/https - How to configure Tomcat?"
- In reply to: A.Tamboer: "Applet and newbie"
- Next in thread: Roland: "Re: Applet and newbie"
- Reply: Roland: "Re: Applet and newbie"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|