title: How do I center an Image view in an anchor pane?
body: <p>I am using scene builder to create my GUI and I am displaying <code>Image</code>s as users select items in a list. The <code>Image</code>s are of different sizes and when an <code>Image</code> that is smaller than the pane it is in, the image is displayed in the top left of the pane. How do I go about getting the <code>ImageView</code> and/or <code>Image</code> to be displayed in the center of the <code>Pane</code>?</p>
  
  <p>I've looked throughout the javafx imageview and image APIs but I haven't found much on centering the <code>ImageView</code>in a <code>Pane</code>. I haven't seen anything in scene builder, either. Usually in scene builder, if there is a way to center a node, there will be an option for centering.</p>