title: Customize ProgressIndicator of JavaFX 2.1
body: <p>How can I customize the ProgressIndicator from JavaFX 2.1? I tried to find some examples but couldn't find any? I want to change the color from blue default to black (but maintaing the gradient effect) and also to remove the "Done" text from when is finished.</p>
  
  <p>I looked up at Javafx CSS reference guide but couldn't figure out how to style the substructure of an node. For the next example: ive tried</p>
  
  <pre><code>.progress-indicator .indicator { -fx-background-color: #000000; } 
  </code></pre>
  
  <p>but doesn't seem to work. JavaFX css reference for ProgressIndicator</p>
  
  <pre><code>Style class: progress-indicator
  
  The ProgressBar control has all the properties of Region and Node.
  
  Substructure
  
  indicator — Region
  progress — Region
  tick — Region
  </code></pre>