Article View: borland.public.jbuilder.java.swing
Article #1329Re: Problems with JBuilder9 working with interfaces
From: Paul Furbacher
Date: Wed, 07 Jan 2004 19:22
Date: Wed, 07 Jan 2004 19:22
31 lines
1999 bytes
1999 bytes
Vanesa wrote:
> I am using an interface, which declares constants, and I need to
> reference those in my code in this case
>
> aFormGroup.setBounds(new Rectangle(A_CONSTANT,4,A_CONSTANT,5))
>
> in JBuilder 9, this throws a nullPointerException
>
> I'd like to know if there's a way to solve this, and why this did
> work in JBuilder 6.
Run your program in the debugger,
and make sure that "aFormGroup"
isn't null.
--
Paul Furbacher (TeamB)
Save time, search the archives:
http://www.borland.com/newsgroups/ngsearch.html
Is it in Joi Ellis's Faq-O-Matic?
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Finally, please send responses to the newsgroup only.
That means, do not send email directly to me.
Thank you.
Technical Details
Message-ID:
<3ffc5c62$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3ffc4f80$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,404e4947da1fa79 X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2004-01-07 11:24:00 PST Date: Wed, 07 Jan 2004 14:22:13 -0500 From: Paul Furbacher <pfurbacher@mac.com> User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing Subject: Re: Problems with JBuilder9 working with interfaces References: <3ffc4f80$1@newsgroups.borland.com> In-Reply-To: <3ffc4f80$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 68.39.103.120 Message-ID: <3ffc5c62$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1073503330 68.39.103.120 (7 Jan 2004 11:22:10 -0700) Lines: 31 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail