File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
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
2, the Graphics object passed to a Component's paint method is actually a Graphics2D instance. Cast it.
How To Ask Questions On JavaRanch
I agree. Here's the link:
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-2015