🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #1327

Problems with JBuilder9 working with interfaces

#1327
From: Vanesa
Date: Wed, 07 Jan 2004 17:27
10 lines
1233 bytes
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.

thanks.
Technical Details
Message-ID: <3ffc4f80$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!priapus.visi.com!orange.octanews.net!news.octanews.net!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,404e4947da1fa79,start
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2004-01-07 10:32:45 PST
From: "Vanesa" <sm_vanesa@yahoo.com.ar>
Sender: "Vanesa" <sm_vanesa@yahoo.com.ar>
Reply-To: "Vanesa" <sm_vanesa@yahoo.com.ar>
Subject: Problems with JBuilder9 working with interfaces
Newsgroups: borland.public.jbuilder.java.swing
X-User-Info: 200.61.188.81     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <3ffc4f80$1@newsgroups.borland.com>
Date: 7 Jan 2004 10:27:12 -0700
X-Trace: newsgroups.borland.com 1073500032 207.105.83.66 (7 Jan 2004 10:27:12 -0700)
Lines: 13
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!priapus.visi.com!orange.octanews.net!news.octanews.net!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail