title: Java Swing: Drawing curved lines
body: <p>I'm trying to draw curved lines in Java. A simple bezier curve with an (X,Y) start, an (X,Y) end, and a curve amount would suffice.</p>
  
  <p>I can't find a way to do this in Swing. If it's not in Swing, is there some simple math I can use to do it? And how would I implement it in Swing?</p>
  
  <p>Edit: I'm aware of how to draw shapes and lines by overriding the paint(Graphics g) method.</p>