3. • Web-page layout and decoration framework
• When a consistent look/feel, navigation and layout scheme is
required
• Clean separation between presentation and content
4.
5. For example,
Window decoratedWindow = new HorizontalScrollBarDecorator(
new VerticalScrollBarDecorator(
new SimpleWindow()));
Pretty much like java.io, right?
InputStream inputStream = new DataInputStream(
new BufferedInputStream(
new FileInputStream(
new
File(“ohmygod.txt”)));