title: JavaFX changing header of titled pane icon
body: <p>I am new to JavaFX. In my application I am using Titled pane and I want to replace the default minimise icon location from left to right end. The thing is I am using a separate FXML file for the titled pane and it is included in the scene. I used the below css content to achieve my goal.</p>
  
  <pre><code>.titled-pane &gt; .title &gt; .arrow-button .arrow {
  -fx-background-color: -fx-mark-highlight-color, -fx-mark-color;
  -fx-background-insets: 1 0 -1 0, 0;
  -fx-padding: 0.25em 0.3125em 0.25em 0.3125em; /* 3 3.75 3 3.75 */
  -fx-collapsible: false;
  -fx-shape: "";
  </code></pre>
  
  <p>At first I tried to remove the icon using the above css. </p>
  
  <pre><code>public class PrjExplorerController implements Initializable {
  
      @FXML
      TitledPane titledPanePrjExplorer;
  
  
      @Override
      public void initialize(URL url, ResourceBundle rb) {
  
  
          titledPanePrjExplorer.getStylesheets().add("StyleSheet.css");
          boolean b = titledPanePrjExplorer.getStyleClass().add("titled-pane");
      }     
  }
  </code></pre>
  
  <p>But this not working. I think I am using a wrong approach. Could anyone help me on this? </p>