File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes drop on JTextField Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "drop on JTextField" Watch "drop on JTextField" New topic

drop on JTextField

Jhedzkie Skies
Ranch Hand

Joined: Oct 28, 2009
Posts: 118

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.
I agree. Here's the link:
subject: drop on JTextField
It's not a secret anymore!