package class7_3_RemoteControl_inClass_start; /** * Command controller * @author hornick * */ public class RemoteControlApp { /** * @param args - not used */ public static void main(String[] args) { Runnable r = ()->{}; new Thread(()->{}); 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! } }