title: Draw an Arc and gradient it
body: <p>I would like to know if its possible to draw a Arc on a graphics Panel using a gradient and how I would go about it. </p>
  
  <p>My end goal would be to rotate the arc in a full circle so it would be similar to a rotating loading circle. However it is not a loading bar. It would be a background of a custom JButton.</p>
  
  <p>Any suggestions to alternatives that would create a similar effect would be appreciated.</p>
  
  <p>This is similar to what oi want to draw. Keep in mind that it will be "rotating"</p>
  
  <p><img src="https://i.stack.imgur.com/6DdVN.jpg" alt="enter image description here"></p>