ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Using the Decorator Pattern
Subject:   Best way of extending
Date:   2005-03-15 07:02:18
From:   Puneeth
It is realy informative. First time I've gone through this article. It sounds good. Can you please let me know, is Decorate class constrained to only Swing components or can be used for business classes too?
This Decorate class would be the best choice when multi level of inheritence is involved or Decoration is required for only few instances of a class. Am I right?