An Introduction to GUI Design in Java

In early versions of Java, there was a GUI (Graphical User Interface) measure using AWT (Abstract Windowing Toolkit). However, it was quickly replaced with Swing, part of the JFC (Java Foundation Classes) for a couple of reasons. Java Foundation Classes (JFC) are a set of GUI components which simplify the development of desktop applications. Java…

The Factory Design Pattern

The factory design pattern is one of the original design patterns by the Gang of Four. It follows the idea of using implementation of interfaces instead of different classes, and allows you to request a object from the factory. Now design patterns are not specific to a language. You will find that sometimes these patterns…