In this chapter, we learned how to design UI components with the help of object-oriented techniques by considering several approaches such as extending layout components, extending a specialized component, and using composition with the help of the Composite class. We developed a LoginForm class that uses the browser's language to show captions in the appropriate language.
In the next chapter, you will learn how to make the login form functional by adding authentication and authorization capabilities.