Then you'll need to cast the Graphics to Graphics2D and use the methods of the Graphics2D class, along with anti-aliasing.
Trail: 2D Graphics (The Java™ Tutorials)
Be aware that it could be a...
Type: Posts; User: Darryl.Burke
Then you'll need to cast the Graphics to Graphics2D and use the methods of the Graphics2D class, along with anti-aliasing.
Trail: 2D Graphics (The Java™ Tutorials)
Be aware that it could be a...
Read the API for Graphics. Those methods take int parameters. Evidently you are passing doubles instead of ints, so why are you doing that?
db