This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes how paint method works in java like Pixel Location Width Height .? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "how paint method works in java like Pixel Location Width Height .?" Watch "how paint method works in java like Pixel Location Width Height .?" New topic
Author

how paint method works in java like Pixel Location Width Height .?

Sumit Kayat
Greenhorn

Joined: Dec 23, 2012
Posts: 3
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41132
    
  45
What, exactly, is your question? What do or don't you understand?


Ping & DNS - my free Android networking tools app
Sumit Kayat
Greenhorn

Joined: Dec 23, 2012
Posts: 3
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
Marshal

Joined: Mar 22, 2005
Posts: 41132
    
  45
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how paint method works in java like Pixel Location Width Height .?
 
Similar Threads
How to convert xml to pdf form in java
can i deploy any ear/jar/war without admin console on websphere 6.1?
Happy New Year! Welcome to our new forums!
How to deploy/undeploy EJBs application through HOT Deployment on websphere 6.1?
Can an abstract class contain main() method or not?