Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with paint method.

 
Giri Regu
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
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.
regards
Giri


[ March 14, 2007: Message edited by: Ulf Dittmer ]
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic