This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Java2D Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Java2D" Watch "Java2D" New topic


william brown

Joined: Jul 19, 2005
Posts: 16
Can I use Java2D with Java Swing .. or is it just for Java AWT?
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299

Yes, you can use Java2D with Swing. In fact, Swing makes heavy use of Java2D when rendering widgets.

GenRocket - Experts at Building Test Data
It is sorta covered in the JavaRanch Style Guide.
subject: Java2D
Similar Threads
How to get started?
Unable to access jar file
draw rect problem?
How do I store a graph into a picture file?
draw line object