This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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: 42038
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.

Ping & DNS - my free Android networking tools app
GeeCON Prague 2014
subject: Problem with paint method.