public static void main(String[] args) {
GUIFactory3 aFactory = GUIFactoryChoice3.getFactory();
System.out.println("\nUsing factory " + aFactory
+ " to construct aButton");
Button aButton = aFactory.createButton();
aButton.setCaption("Push a");
aButton.paint();
System.out.println("\nUsing factory " + aFactory
+ " to construct aMenu");
Menu aMenu = aFactory.createMenu();