Article View: borland.public.jbuilder.java.swing
Article #1036Re: Image
From: Steve
Date: Wed, 14 Apr 2004 16:04
Date: Wed, 14 Apr 2004 16:04
24 lines
1755 bytes
1755 bytes
"John McGrath [TeamB]" <ng-b@JPMcGrath.net> wrote: >On 4/13/2004 at 2:02:27 PM, Steve wrote: > >> The code below is failing and I can't get a Error Messgae indicating why? > >What do you mean when you say you can't get an error message? What are >you expecting the code to do? How do you know that it is failing? > >-- >Regards, > >John McGrath [TeamB] > >--------------------------------------------------- >Before sending me e-mail, please read: > http://www.JPMcGrath.net/newsgroups/e-mail.html The code is in a try/catch if the creatation of the image fails it is caught by the IOException and you can get a error message returned indicating why it failed. The getMessage is returning null. I am expecting the code to create a instance of this image so I can display the image. I know it's failing because the createImage is called and the next line of code executed is the IOException catch.
Technical Details
Message-ID:
<407d5300$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<407c1d23$1@newsgroups.borland.com> <407c9e76$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,5f07259cd3f76b64 X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2004-04-14 08:10:16 PST From: "Steve" <s@aol.com> Sender: "Steve" <s@aol.com> Reply-To: "Steve" <s@aol.com> Subject: Re: Image Newsgroups: borland.public.jbuilder.java.swing X-User-Info: 66.123.224.226 References: <407c1d23$1@newsgroups.borland.com> <407c9e76$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <407d5300$1@newsgroups.borland.com> Date: 14 Apr 2004 08:04:32 -0800 X-Trace: newsgroups.borland.com 1081955072 207.105.83.66 (14 Apr 2004 08:04:32 -0800) Lines: 24 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail