title: JavaFX - Create Button from Icon
body: <p>I've been into custom controls with JavaFX recently and was wondering what the best way is to create a button that simply is an image. For instance here on Stack Overflow we have these buttons (I suppose that in reality they are links but I want the same effect in JavaFX) that do not look like buttons at all.</p>
  
  <p><a href="https://i.stack.imgur.com/D6F5Y.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/D6F5Y.png" alt="enter image description here"></a></p>
  
  <p>What is the best way of creating something similar in JavaFX? I know you can add images to buttons but is there then also a way of completely removing the background (I suspect there is)?</p>