title: What is the Java equivalent of a C# Graphics object? (more details included)
body: <p>In a C# Windows form, there is a Graphics object which is used to draw images and shapes directly to the form. What is the equivalent in Java?</p>
  
  <p>In case my question isn't clear enough, I wish to draw to a form in Java like I would in C#. I am aware of Applets and JApplets, but I want to do this in an actual form and not in a browser.</p>