private final int[] spotHeights = { 100, // At 0 km, the start 120,120,150,120,200,200,210,220,230,240, // Heights at 1-10 km 300,300,300,250,250,200,150,150,150,130, // Heights at 11-20 km 120,120,150,120,200,200,210,220,230,240, // Heights at 21-30 km 300,300,300,250,250,200,150,150,150,130, // Heights at 31-40 km 120,120,150,120,200,200,210,220,230,240 }; // Heights at 41-50 km (the end) >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.. (A little further on...) drawRouteSegment(g, 0); // Segment from 0 km to 1 km drawRouteSegment(g, 1); // Segment from 1 km to 2 km //I need to draw the route segments, and I'm having trouble adding a for loop. Mainly because I'm not sure I understand how they work properly. for (int i = 0; i < spotHeights.length; i++) { What goes in the second line? spotHeight[i];