Repaint on a JFRAME

Hey, im pretty new to programming, I want my frame to repaint the taxis each time the user enters a number, as it stands it is overlapping, I have used repaint but no such luck, if anyone could help I would be very appriciative thanks, here is the code

Re: Repaint on a JFRAME

Well, if you want help, we'll have to see an SSCCE (that's not your whole program) that demonstrates exactly what's going on in the code- for example, we have no idea what your TaxiCanvas class is doing.