title: Text labels inside jfree Gantt chart bars
body: <p>I have a simple Gantt chart here, that consists of a number of Tasks just like that: </p>
  
  <pre><code>TaskSeries s1 = new TaskSeries("Planned Tasks");
  Task newTask = new Task("Task" +
  String.valueOf(taskIndex),
  new
  SimpleTimePeriod(currentTime,
  currentTime +
  (int) distributionTime)
  );
  s1.add(newTask) 
  final TaskSeriesCollection collection = new TaskSeriesCollection();
  collection.add(s1);
  
  JFreeChart chart = ChartFactory.createGanttChart(
  "Distribution ", 
  "Task", 
  "Time", 
  collection, 
  true, 
  true, 
  false 
  );
  </code></pre>
  
  <p>Is there a way to write something INSIDE each bar, representing a task? For example, if the task is made up of a two subtasks, is it possible to mark them with labels, so their names would be seen on a plot? Thanks in advance!</p>