🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #1330

I just want to load an image

#1330
From: Kamran Ozcan
Date: Sat, 09 Mar 2002 20:32
15 lines
1342 bytes
I am writing below code and At run time I am getting this error:
com.ms.security.SecurityExceptionEx[kkk8.init]: cannot access
"www.google.com"
           ....
           Image     img;

           try {
             img = getImage( new
URL("http://www.google.com/logos/mondrian.gif") );
           }
           catch (MalformedURLException e) {}
           ...

I have tried many sites, but I cant get the image, what must I do to load an
image from a given URL ?.
Technical Details
Message-ID: <3c8a70c2_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!128.230.129.106!news.maxwell.syr.edu!news.mel.connect.com.au!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,31a2567321aceb56,start
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2002-03-09 12:31:14 PST
From: "Kamran Ozcan" <kamran@netcad.com.tr>
Newsgroups: borland.public.jbuilder.java.api
Subject: I just want to load an image 
Date: Sat, 9 Mar 2002 22:32:15 +0200
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
NNTP-Posting-Host: 217.131.89.23
Message-ID: <3c8a70c2_2@dnews>
X-Trace: dnews 1015705794 217.131.89.23 (9 Mar 2002 12:29:54 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!128.230.129.106!news.maxwell.syr.edu!news.mel.connect.com.au!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!dnews