Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java in General
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Ron McLeod
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
Java in General
how paint method works in java like Pixel Location Width Height .?
Sumit Kayat
Greenhorn
Posts: 3
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Ulf Dittmer
Rancher
Posts: 43081
77
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
What, exactly, is your question? What do or don't you understand?
Sumit Kayat
Greenhorn
Posts: 3
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I mean how Paint (Graphics g) Works ?
nd g.fillRect(int x ,int y width,height) too.
int x ,int y what are these nd where is (0,0) location starts on Screen ?
Ulf Dittmer
Rancher
Posts: 43081
77
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Work through this:
http://docs.oracle.com/javase/tutorial/uiswing/painting/
and then read this:
http://www.oracle.com/technetwork/java/painting-140037.html
. I think that should answer many of your question, definitely the one about where (0,0) is.
sunglasses are a type of coolness prosthetic. Check out the sunglasses on this tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Can an abstract class contain main() method or not?
can i deploy any ear/jar/war without admin console on websphere 6.1?
Happy New Year! Welcome to our new forums!
How to convert xml to pdf form in java
How to deploy/undeploy EJBs application through HOT Deployment on websphere 6.1?
More...