wood burning stoves 2.0*
The moose likes Applets and the fly likes wrapper classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "wrapper classes" Watch "wrapper classes" New topic

wrapper classes

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Can I have a wrapper class for static variables
Nathan Paris

Joined: Jun 21, 2000
Posts: 28
You could have a wrapper class that provides a getter/setter for the static as long as it has permissions.
class Base
protected static ... myStatic;
class Wrapper extends Base
public static getMyStatic()
return myStatic ;
jQuery in Action, 2nd edition
subject: wrapper classes