Java Graphical Application Programming , construct a Rectangle object on a Frame.

Voir la source YouTube