Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 02-25-2002, 01:05 AM   #1
Member (9 bit)
 
Join Date: Dec 2001
Location: US
Posts: 468
Send a message via AIM to wilbasket23 Send a message via Yahoo to wilbasket23
Question about java repaint method ?

I am trying to write a program which allow the user to draw a line continuously. which i used the repaint method to redraw the line continuously the problem that i am having is that the line keep drawing to itself. is there anyway i can use repaint method to return to the next line after finish drawing one line instead everytime overlapping itself. Also, how can i clear an area let say after 100 lines have been drawing. Can u please help me out. Also how can i use the random function to randomly drawing a line. an using Timere method inside the java.swing* package. thanks i hope u can help me out
wilbasket23 is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:52 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2