Line draw on mouse drag

Is this possible to draw a line on mousedrag? If not possible then how can I achieve this?
Please can somebody reply on this?

Thanks in Advance.

Hoping someone would create an add-on that makes use of !

Thank you for your reply.

Can this possible with GWT graphics or Canvas?I need some clue how I can achieve this?

Just to give idea on my use case :

  1. I have dargged table row to Absolute Panel as Button…User can dragged many rows as Button on AbsoluteLayout.
  2. Now I wanted to provide a single arrow line drawing in between buttons on mouse move from one button to another button.
  3. Is this possible with vaadin canvas?Or should I go ahead with Drawing Area GWT?I am not sure, using which add on I should able to draw line on absolute layout.Can you please suggest some tips or any info.

Thank you in advance.