code: public static Color cueColor(CueList.Entry entry) {
          if (entry.hotCueNumber > 0) {
              return Color.GREEN;
          }
          if (entry.isLoop) {
              return Color.ORANGE;
          }
          return Color.RED;
      }
docs: Determine the color to use to draw a cue list entry. Hot cues are green, ordinary memory points are red,
  and loops are orange.
  
  @param entry the entry being drawn
  
  @return the color with which it should be represented.