Façade clears complexity
Develop dialog boxes and Swing apps faster
By David Geary, JavaWorld.com, 05/30/03
Page 5 of 5
Fortunately for façades
Powerful APIs, which are plentiful in Java, are wonderful when you need a power tool, but for most basic uses, façades provide
a simpler alternative that greatly eases application development. In this article, I've discussed a Swing built-in façade—the
JOptionPane class—and a custom façade—ApplicationSupport—that make it much easier to create Swing applications.
About the author
David
Geary is the author of
Core JSTL Mastering the JSP Standard Tag Library (Prentice
Hall, 2002; ISBN: 0131001531),
Advanced JavaServer Pages (Prentice Hall, 2001; ISBN:
0130307041), and the
Graphic Java series (Prentice Hall). David has been
developing object-oriented software with numerous object-oriented
languages for 18 years. Since the GOF Design Patterns book
was published in 1994, David has been an active proponent of design
patterns, and has used and implemented design patterns in
Smalltalk, C++, and Java. In 1997, David began working full-time as
an author and occasional speaker and consultant. David is a member
of the expert groups defining the JSP Standard Tag Library and
JavaServer Faces, and is a contributor to the Apache Struts JSP
framework.
Read more about Core Java in JavaWorld's Core Java section.