title: How can i create a switch button in javafx?
body: <p>I want to create a switch button like above<img src="https://i.stack.imgur.com/KgnoI.png" alt="enter image description here">
  I am a swt developer where i used to get this widget <a href="http://code.google.com/a/eclipselabs.org/p/opal/wiki/SwitchButton" rel="noreferrer">Switchbutton</a>.
  Can i have something similar in javafx</p>