aButton.paint();
System.out.println("\nUsing factory " + aFactory
+ " to construct aMenu");
Menu aMenu = aFactory.createMenu();
aMenu.setCaption("Menu a");
aMenu.display();
GUIFactory2 bFactory = GUIFactoryChoice2.getFactory();
System.out.println("\nUsing factory " + bFactory
+ " to construct bButton");
Button bButton = bFactory.createButton();