Originally posted by Peter Lawrey:
You can use reflections to call any method or create an instance of any class if it exists and gracefully do something else if it does not.
Out of interest, do you really need to support 1.1 as 1.4 is EOL.
Peter,
My company is still using compiler 1.1 and will not upgrade to a newer compiler anytime soon due to stability reason.
Do you have any example about how to use reflections?
Let say I am currently drawing an non antialiasing oval:
I would like to have the antialiasing feature like:
But the 1.1 compiler doesn't support Graphics2D and RenderingHints. How to use reflections to do that?
Thanks so much!
Stanley