Firts of all you should override paintComponent() when doing custom painting in Swing. A call to super.paintComponent() will repaint the JComponent, i.e. removing old taxis.
Read this tutorial:...
Type: Posts; User: PhHein
Firts of all you should override paintComponent() when doing custom painting in Swing. A call to super.paintComponent() will repaint the JComponent, i.e. removing old taxis.
Read this tutorial:...