package example8_1_AfterClass; /** * Command controller * @author hornick * */ public class CommandApp { /** * @param args - not used */ public static void main(String[] args) { Robot robot = new Robot("Roomba"); Car car = new Car("Pacer"); Car car2 = new Car("Yugo"); new ControlPanelUI(car, car2, robot); // create the UI and go! } }