How to get functionality of drag and drop to the fields of main prog. where I got fields from database using JDBC concepts?

  In my first program I retrieved  fields from  server using jdbc driver.
Those field values are placed in  JTextField. I have two  programs for
drag and drop of JList objects  which are  initialised and the functionality achieved through java.awt.dnd.*,java.awt.datatransfer.*
packages.Now I want to add the this drag
and drop functionality to the main program wherein I got retrieved data in JTextFields.The problem is to add drag and drop functionality to the fields that I obtained  in my  main program.
thank you if you could provide me the  solution.


Who is Participating?
yugandharAuthor Commented:
you are not giving the exact answer
but giving the urls where to look for solution.
Thank you for responding .
All Courses

From novice to tech pro — start learning today.