Results 1 to 5 of 5
Thread: Thread
- 08-25-2008, 10:50 AM #1
Member
- Join Date
- Jul 2008
- Posts
- 9
- Rep Power
- 0
Thread
i need code for drawing lines using concept of thread.
i have a button ,when user clicks on this ...line is drawn for random values.
the line is drawn dynamically.(using thread and sleep)i.e,,after a line is drawn between two points ,there is a slight delay seen when the line is drawn for next 2 points ,,,,
again when user clicks on the button. second line is plotted..and the first line which is bieng drawn also is visible.
- 08-25-2008, 10:52 AM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Did you repaint the line between two points, may be after a delay, wait()?
- 08-25-2008, 10:57 AM #3
Member
- Join Date
- Jul 2008
- Posts
- 9
- Rep Power
- 0
hi
have got no idea to accomplish this......
please give me the code...
i"ll get some information and idea
- 08-25-2008, 11:09 AM #4
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Sorry pal, I don't have any code related to this. What you have done up to now. It's better that you should ask your question related to work you have done.
- 08-25-2008, 01:59 PM #5
Similar Threads
-
data from the main/GUI thread to another runnin thread...
By cornercuttin in forum Threads and SynchronizationReplies: 2Last Post: 04-23-2008, 10:30 PM -
How to get thread name
By Java Tip in forum java.langReplies: 0Last Post: 04-09-2008, 06:40 PM -
If JNI thread call the java object in another thread, it will crash.
By skaterxu in forum Advanced JavaReplies: 0Last Post: 01-28-2008, 07:02 AM -
using Thread
By one198 in forum New To JavaReplies: 1Last Post: 11-21-2007, 08:01 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks