title: JavaFx instance in FXML
body: <p>I try fxml feature in javaFX</p>
  
  <ol>
  <li><p>how to specify a title while creating TabedPane? the code below don't work</p>
  
  <pre><code>&lt;Accordion &gt;
          &lt;panes&gt;
              &lt;TitledPane&gt;
                  &lt;title&gt;
                      &lt;String fx:value="123"/&gt;
                  &lt;/title&gt;
                  &lt;content&gt;
                      &lt;Text text="123"/&gt;
                  &lt;/content&gt;
  
              &lt;/TitledPane&gt;
          &lt;/panes&gt;
      &lt;/Accordion&gt;
  </code></pre></li>
  </ol>
  
  <p>2 how to instantiate Duration for animation?   </p>
  
  <pre><code>&lt;Duration&gt;&lt;Double fx:value="300"/&gt;&lt;/Duration&gt;
  </code></pre>