title: Is there a standard GUI toggle switch in Java?
body: <p>Is there a standard implementation or library that provides a GUI toggle switch in Swing? I know Swing provides a toggle <em>button</em>, but the UX leaves a bit to be desired. I'm looking for this:</p>
  
  <p><img src="https://i.stack.imgur.com/lMYLP.png" alt="enter image description here"></p>
  
  <p>Also, is there a canonical term for this type of control? The Apple HIG refer to it as a UISwitch. I also tried searching for "toggle switch", but I didn't have much luck. (Plenty of JavaScript results, but nothing native.)</p>