title: Swing paintComponents in JavaFX
body: <p>I am apologising in advance for the upcoming silly question.</p>
  
  <p>Is there a replacement for the paintComponents method a JPanel has for javaFX?
  Or should I just use a JFXPanel which is embed with Swing? </p>
  
  <p>For example I figured that Timeline is the same as a Timer in Swing, what is the corresponding thing for a Panel/paintComponents?</p>
  
  <p>EDIT:
  For example how would we go about animating a circle from an x-y coordinate to another? (Without the use of an TranslateTransition, of course)</p>
  
  <p>I tried painting things with canvas but I couldn't figure out how to constantly update the canvas, like calling repaint() in Swing?</p>