[1914] in java-interest
AWT instance variables
daemon@ATHENA.MIT.EDU (Ed Grossman)
Tue Sep 19 21:35:23 1995
Date: Tue, 19 Sep 1995 18:07:47 -0500
To: java-interest@java.sun.com
From: egrossma@ncsa.uiuc.edu (Ed Grossman)
Hi,
I'm interested in why the AWT developers, upon removing the public instance
variables, made access on most of them the default, ie private outside the
package. I've just started to write a few subclasses, and have quickly
discovered that the ramifications of this decision seem to be that I cannot
get access to my superclass' instance variables unless I put my new class
in the same package. In that case, however, I have access to pretty much
any instance variable in the entire AWT. Could one of the developers give
some idea of how they expect these classes to be reused?
-- Ed Grossman
NCSA
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com