🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #17694

Class question

#17694
From: Jonathan
Date: Mon, 19 Oct 1998 00:00
18 lines
935 bytes
Problem:

I have one main window in my project and an extra fram, which is called by
the main window i.e. FrameName.show()

I created a new class and initialised it in the main window, setting values
to attributes.
However, when I try to retrieve the values of the attributes in the frame
window, it tells me to initialise an instance of the class.

What i have done so far is 

Nameofclass ObjectName;

ObjectName.AttributeName = some value   //at this point the error occurs
saying that object might not be initialised,

how can i get around this?
Technical Details
Message-ID: <01bdfb4d$4c1f1180$881aea9e@ukp10008>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,72a43837123bfe6a,start
X-Google-Attributes: gidf74b3,public
From: "Jonathan" <plaskowj@logica.com>
Subject: Class question
Date: 1998/10/19
Message-ID: <01bdfb4d$4c1f1180$881aea9e@ukp10008>
X-Deja-AN: 402764983
Organization: Logica UK Limited
Newsgroups: borland.public.jbuilder.java.language