Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Multi-threading

Reply
Thread Tools

Multi-threading

 
 
amit.2462004@gmail.com
Guest
Posts: n/a
 
      09-06-2006
sir i have written a multithreading program in which a line rotates in
clock-wise or anti-clockwise direction depending on the buttonclicked
but the problem is line which is drawn on the screen remains there i
want the effect of the clock's second's hand only one hand rotating in
clockwise or anti-clockwise direction

 
Reply With Quote
 
 
 
 
Philipp Leitner
Guest
Posts: n/a
 
      09-06-2006

wrote:
> sir i have written a multithreading program in which a line rotates in
> clock-wise or anti-clockwise direction depending on the buttonclicked
> but the problem is line which is drawn on the screen remains there i
> want the effect of the clock's second's hand only one hand rotating in
> clockwise or anti-clockwise direction


?

Sorry, I think you need to tell the people in this group /a lot/ more
than that. People can't help you if you don't post exactly what you
want to do, exactly what goes wrong and the relevant parts of your
code.

/philipp

 
Reply With Quote
 
 
 
 
Thomas Fritsch
Guest
Posts: n/a
 
      09-06-2006
wrote:

> sir i have written a multithreading program in which a line rotates in
> clock-wise or anti-clockwise direction depending on the buttonclicked
> but the problem is line which is drawn on the screen remains there i
> want the effect of the clock's second's hand only one hand rotating in
> clockwise or anti-clockwise direction
>

I understood very little of your writing, because I couldn't see where
one sentence ends and the next begins. Please use some "," (comma) and
"." (period, full stop) next time.

--
Thomas
 
Reply With Quote
 
Patricia Shanahan
Guest
Posts: n/a
 
      09-06-2006
Thomas Fritsch wrote:
> wrote:
>
>> sir i have written a multithreading program in which a line rotates in
>> clock-wise or anti-clockwise direction depending on the buttonclicked
>> but the problem is line which is drawn on the screen remains there i
>> want the effect of the clock's second's hand only one hand rotating in
>> clockwise or anti-clockwise direction
>>

> I understood very little of your writing, because I couldn't see where
> one sentence ends and the next begins. Please use some "," (comma) and
> "." (period, full stop) next time.
>


Luckily for me, the first word of the article warned me not to bother
trying to parse the rest of it.

Patricia
 
Reply With Quote
 
Oliver Wong
Guest
Posts: n/a
 
      09-06-2006
<> wrote in message
news: oups.com...
> sir i have written a multithreading program in which a line rotates in
> clock-wise or anti-clockwise direction depending on the buttonclicked
> but the problem is line which is drawn on the screen remains there i
> want the effect of the clock's second's hand only one hand rotating in
> clockwise or anti-clockwise direction
>


Did you try erasing the line by repainting the background? If you have a
green line on a red background, for example, I'd paint a red rectangle over
the entire image to erase everything, and then draw a new green line on top
of this red rectangle, thus giving the illusion that the previous green line
had moved.

- Oliver

 
Reply With Quote
 
 
 
Reply

Thread Tools

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Advertisments