• Post Reply Bookmark Topic Watch Topic
  • New Topic

DnD in JLabels.  RSS feed

 
Arun Thulaseedharan
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a panel with 2 labels . i am dragging a label contents over the other and its getting transferred. My requirement is that instead of this uni directional transfer i want it to bi-directional so that its like a swap operation . Please help me with this one.

thanks in advance,
Arun
 
Rob Spoor
Sheriff
Posts: 21095
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd start here.
 
Arun Thulaseedharan
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I question is when we are dragging from label A to label B.Is it possible to update label A with the value of label A when label A is updated with the value of label A??
I mean when a drop takes place the value in the drop target is reflected in the drag source.

thanks in advance,
arun
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!