Category Archives: Tutorial

AWT GUI Facade (3): Display an image

The facade seen in the previous article has only an interface with its methods. It is also possible to enrich a facade with additional interfaces, connected to each other by various means. To illustrate it, I propose to add image … Continue reading

Posted in Tutorial | Tagged , , , | Leave a comment

AWT GUI Facade (2): Draw

In this article, I propose to continue the design of a facade for a 2D tile game (previous post). I add two new features: creation/destruction of the window, and basic drawing. We manage each feature using methods in a GUIFacade … Continue reading

Posted in Tutorial | Tagged , , | Leave a comment

AWT GUI Facade (1): Display a window

In this series, I propose to discover the Facade Pattern. In short, this pattern defines an interface that allows a reduced and simplified use of a set of features. To illustrate, we design a facade of the AWT graphics library … Continue reading

Posted in Tutorial | Tagged , , | Leave a comment