question: protected void removeMarkers ( ) { for ( int i = markerImage . size ( ) ; i > 0 ; i -- ) { LocoIcon il = markerImage . get ( i - 1 ) ; if ( ( il != null ) && ( il . isActive ( ) ) ) { markerImage . remove ( i - 1 ) ; il . remove ( ) ; il . dispose ( ) ; setDirty ( true ) ; } } super . removeMarkers ( ) ; repaint ( ) ; }
target:  Remove marker icons from panel