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 Beginning Java and the fly likes Reflection on Graphics2d 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 » Beginning Java
Reply locked New topic

Reflection on Graphics2d

Stanley Yu

Joined: Jan 02, 2009
Posts: 5
I want to use Graphics2d to draw antialiasing graphics, but I am using Java 1.1 compiler. The runtime Java should be 1.4 or above. I was told to use reflection to do this, but I am new to it. Can anyone help or provide an example on how to code the following using reflection and is able to by compiled by Java 1.1?

Thanks so much!

Campbell Ritchie

Joined: Oct 13, 2005
Posts: 38075
Please don't open a new thread or ask the same question twice. Please continue the discussion here.
It is sorta covered in the JavaRanch Style Guide.
subject: Reflection on Graphics2d
Similar Threads
drawing arrows
Problem with GUI
"Drawing" Points on screen
How to draw antialiasing graphics if using Java 1.1 compiler?
Using mouse clicks to draw on a JFrame, problem probably with coordinates