title: Context Menu on a row of TableView?
body: <p>I am using JavaFX and my application has a table and I can add elements to the table but I want to create a context menu that displays on a row when I right click on that row.</p>
  
  <p>What I have...</p>
  
  <p>In Scene Builder I have a method that runs on when the Context Menu is activated but that isn't exactly what I want. This would be fine really because I am programmatically grab the selected item from the table whenever I want. The issue, if I keep what I currently have, is getting the context menu to popup at the selected element.</p>
  
  <p>contextMenu is the context menu with menu items.
  connectedUsers is the TableView</p>
  
  <p>The following is the closest I can get, but this shows the context menu at the bottom of the TableView</p>
  
  <pre><code>contextMenu.show(connectedUsers, Side.BOTTOM, 0, 0);
  </code></pre>