title: Display data from HashMap in JavaFX
body: <p>I have two hashmaps with data from the twitter API. I want to display this data in a GUI as it appears in the console.</p>
  
  <p>How can I do that? TableView is an option, but is there some better option?</p>
  
  <pre><code>    HashMap&lt;Integer, String&gt; tweetName = new HashMap&lt;&gt;();
      HashMap&lt;Integer, String&gt; tweetText = new HashMap&lt;&gt;();
  
  
      for (int i = 0; i &lt; tweets.size() - 97; i++) {
          userName = tweets.get(i).getUser().getName();
          text = tweets.get(i).getText();
          tweetName.put(i, userName);
          tweetText.put(i, text);
      }
  
      System.out.println(tweetName.get(0));
      System.out.println(tweetText.get(0));
  </code></pre>
  
  <p>I want to display tweets and usernames in a format like this:</p>
  
  <ol>
  <li><p>[Name]</p>
  
  <p>[I just tweeted something]</p></li>
  <li><p>[Name2]</p>
  
  <p>[I am tweeting this]</p></li>
  </ol>