🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Disposing of a frame

#17329
From: Leo Cohen
Date: Mon, 30 Nov 1998 00:00
17 lines
1024 bytes
I have a method that receives a variable, v, of type Object. v is
actually one of several possible frames that has been cast to Object. I
would like to dispose() of the associated frame, and have tried
v.getClass().dispose(). However, the compiler tells me that the
dispose() method is not found in the java.lang.Class.

Threfore, given (Object v), how can I dispose() of v?
-- 
Leo Cohen

116-1 Howard Drive
Charlottesville, VA  22903

804-243-8922 (UVA)
804-244-4648 (home)
804-244-7922 (fax)
lcohen@cs.virginia.edu
Technical Details
Message-ID: <366312C6.92972C0C@cs.virginia.edu>
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,7c91af6c592c4d07,start
X-Google-Attributes: gidf74b3,public
From: Leo Cohen <lcohen@cs.virginia.edu>
Subject: Disposing of a frame
Date: 1998/11/30
Message-ID: <366312C6.92972C0C@cs.virginia.edu>
X-Deja-AN: 417236571
Content-Transfer-Encoding: 7bit
Organization: Another Netscape Collabra Server User
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language