The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2002



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


Button Extend

Posted by Paul Walia (jinhotty) on February 23, 2002 at 2:13 PM

I don't see any relationship of your two classes.. You are not really using your super class anywhere.. you are creating a new button in your sub class which defeats the whole Idea of Extending.. create button in super class then in sublass add functionality to that button i.e buttonOne and subclass should return the same buttonOne.


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us