Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
These days people are accustomed to working with applications that have rich user interfaces. If you develop rich Internet applications, JavaFX is the newest platform for development offered by Oracle. But Java itself offers a library of components called Swing, which is used for building graphic user interfaces (GUIs) for desktop applications, as well as a web program called applets (see Lesson 10). In this and the following lesson you'll learn the principles of building GUIs while developing a simple desktop calculator using the Java Swing library.