ghazalghorabi / TDA553-lab1

0 stars 0 forks source link

Control panel remnants in CarView #48

Open martinjonsson01 opened 1 year ago

martinjonsson01 commented 1 year ago

Since you have moved the control panel out of CarView and made it into CarController, all lines that reference controlPanel should be moved into the constructor of CarController.

https://github.com/ghazalghorabi/TDA553-lab1/blob/7f7560d90d9f5a941a3a87e81244aeb81788c392/CarView.java#L31-L41