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
Liutauras Vilda
Jeanne Boyarsky
paul wheaton
Sheriffs:
Ron McLeod
Devaka Cooray
Henry Wong
Saloon Keepers:
Tim Holloway
Stephan van Hulst
Carey Brown
Tim Moores
Mikalai Zaikin
Bartenders:
Frits Walraven
Forum:
Java in General
how paint method works in java like Pixel Location Width Height .?
Sumit Kayat
Greenhorn
Posts: 3
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Ulf Dittmer
Rancher
Posts: 43081
77
posted 11 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 11 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 11 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.
Villains always have antidotes. They're funny that way. Here's an antidote disguised as a tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
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...