I'm using a GeneralPath to display a tour going round cities (displayed as points). But I need to highlight some parts of the tour in different colours.
Does anyone know how I can set the colour of the GeneralPath at at various points. I tried changing the colour of the Graphics2D object in the paintComponent method but that changes the colour of the entire path.
Any help would be greatly appreciaated... Thanks...