aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 39547
    
  27
What, exactly, is your question? What do or don't you understand?


Ping & DNS - updated with new look and Ping home screen widget
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: 39547
    
  27
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 deploy/undeploy EJBs application through HOT Deployment on websphere 6.1?
Can an abstract class contain main() method or not?
Happy New Year! Welcome to our new forums!
can i deploy any ear/jar/war without admin console on websphere 6.1?
How to convert xml to pdf form in java