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


AddThis Social Bookmark Button
  Using the Decorator Pattern
Subject:   the order of ResizableDecorator and BorderDecorator
Date:   2004-08-24 05:35:10
From:   QW
In Frame2.java, if I let 'label2' be:
ResizableDecorator label2 =
new ResizableDecorator(new BorderDecorator(
new JLabel(" Doublely decorated")));
then the label name is not displayed. I did not figure out why?