In this chapter, you learned about the use of the Border interface and its many predefined implementations. You also learned how to create predefined borders using the Factory design pattern provided by the BorderFactory class. Lastly, you saw how to define your own borders and why subclassing AbstractBorder is beneficial.
In Chapter 8, you’ll move beyond low-level components and examine the window-like container objects available in Swing.
KeywordsFactory Method Property Property Border Class Etching Type Component Argument
Unable to display preview. Download preview PDF.