GUIFactory bFactory = GUIFactoryChoice.getFactory();
System.out.println("\nUsing factory " + bFactory
+ " to construct bButton");
Button bButton = bFactory.createButton();
bButton.setCaption("Push b");
bButton.paint();
GUIFactory cFactory = GUIFactoryChoice.getFactory();
System.out.println("\nUsing factory " + cFactory
+ " to construct cButton");
Button cButton = cFactory.createButton();