A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
Swing / AWT / SWT
Joined: May 05, 2003
Dec 05, 2003 21:40:00
How can I get the instance of Graphics2D?(exclude passed as parameters)
Thanks for any answer!
Joined: Oct 29, 2001
Dec 08, 2003 07:29:00
In Java 2, the Graphics object passed to a Component's paint method is actually a Graphics2D instance. Cast it.
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
How To Ask Questions On JavaRanch
It is sorta covered in the
JavaRanch Style Guide
Graphics - Swing or 2D What's best
Wrinting a string vertically
Graphics2D - Abstract?!
inconvertible type error
In (Graphics g) method...is g an object of Graphics2D?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014