A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
rocket mass heater
Graphics2D - Abstract?!
In (Graphics g) method...is g an object of Graphics2D?
Wrinting a string vertically
Graphics - Swing or 2D What's best
inconvertible type error
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013