Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Drag and Drop within the JTable

 
Madhav Tallapaneni
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have one requirement to drag the component from JList to JTable cell. I am able to do it but once if i drag the component from list to table cell, table accepting the drop after this i am unable to move the same component from one cell to another cell within the table.

Any advice.

I have used the following logic for JTable and JList is drag enabled.



Thanks & Regards,
Maadhav..
 
Madhav Tallapaneni
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I fixed this issue with some additional logic which allow me to drag and drop the string component from one cell to another cell within in the JTable.

I am attaching the new logic here, if any one needs use it.



Thanks & Regards,
Maadhav..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic