jQuery in Action, 3rd edition
The moose likes Applets and the fly likes Problem with paint method. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Problem with paint method." Watch "Problem with paint method." New topic

Problem with paint method.

Giri Regu

Joined: Apr 03, 2006
Posts: 15
i am developing a paint application .in that i draw lines and i can move it . the problem is when i am moving a line then the paint method called and draw all the lines once again. but the lines is not showed properly
here i attached java file.
plese take a look with my coding.
give me a solution
(i am using jdk1.1.8)
thanks in advance.

[ March 14, 2007: Message edited by: Ulf Dittmer ]
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
but the lines is not showed properly

What does this mean? What exactly happens, and what do you want to happen?

Also, I have added code tags around the code, which make it much easier to read because the formatting is kept intact. Please do that next time you post code of any length.
I agree. Here's the link: http://aspose.com/file-tools
subject: Problem with paint method.
It's not a secret anymore!