File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 36453
Please don't open a new thread or ask the same question twice. Please continue the discussion here.
I agree. Here's the link:
subject: Reflection on Graphics2d
Similar Threads
How to draw antialiasing graphics if using Java 1.1 compiler?
Problem with GUI
"Drawing" Points on screen
drawing arrows
Using mouse clicks to draw on a JFrame, problem probably with coordinates