🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

using methods from within another class

#14893
From: Shane Cooper
Date: Mon, 26 Jul 1999 00:00
15 lines
966 bytes
i have defined a filer dialog and it works fine within the main UI frame.

my problem is that i cannot seem to access the method that opens the dialog
from within another frame. i have tried defining it as a new class but i get
the same error

error: non-static method fileOpen() cannot be referenced from a static
context.

i use fileOpen(); within the main UI frame. and i call
FilerDialog.fileOpen() within a subframe;

thanks

shane
Technical Details
Message-ID: <7nhmf4$2ib7@forums.borland.com>
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,9f334a86a56b84cb,start
X-Google-Attributes: gidf74b3,public
From: "Shane Cooper" <sdcooper@ozemail.com.au>
Subject: using methods from within another class
Date: 1999/07/26
Message-ID: <7nhmf4$2ib7@forums.borland.com>
X-Deja-AN: 505363482
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.language