File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

Problem with paint method.

Giri Regu
Greenhorn

Joined: Apr 03, 2006
Posts: 15
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
Marshal

Joined: Mar 22, 2005
Posts: 39548
    
  27
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 - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with paint method.
 
Similar Threads
New College Project
Copying panel contents to an image.
problems using paint(Graphics g)
How to make rectangle drawn to be vissible when a new rectangle is drawn
how do i draw a dotted straight line on an applet.