Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

drop on JTextField

 
Aron Jhed Amiscosa
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi.


i have a JTable enabled for drag and a JTextField as drop destination.

i have no issues on the first drop on the textfield, however, there's an instance which i wanted to drop/replace the value inside the textfield
while the current value dropped in it was there. its more of overwriting the previous data with a new data from the dragged content.
can somebody please suggest some insights, perhaps samples on how i can fix this up.
thanks in advanced.
 
Yes, my master! Here is the tiny ad you asked for:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!