June 2017
Beginner
1296 pages
69h 23m
English
This section introduces those design patterns associated with Java GUI components. It will help you understand better how these components take advantage of design patterns and how developers integrate design patterns with Java GUI applications.
Now, we continue our treatment of creational design patterns, which provide ways to instantiate objects in a system.
Suppose that we’re designing a system that opens an image from a specified file. Several different image formats exist, such as GIF and JPEG. We can use method createImage of class java.awt.Component to create an Image object. For example, to create a JPEG and GIF image in an object ...
Read now
Unlock full access