• Post Reply Bookmark Topic Watch Topic
  • New Topic

Drag and Drop JDK1.4.0

 
Patrick ODonnell
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have just downloaded JDK1.4.0 and I would like to be able to create a Jlist of components from which I could drag items to a JTextfield. Has anyone done this or can it be done?? I have seen example on the sun website but it says these will become obsolete in v1.4.0. Has anyone got any information on this or pointers.
Thanks,
Patrick.
 
Matt Senecal
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
This is an example program that lets you drag and drop from a JList to a JTextField:

---Matt
Originally posted by Patrick ODonnell:
Hi all,
I have just downloaded JDK1.4.0 and I would like to be able to create a Jlist of components from which I could drag items to a JTextfield. Has anyone done this or can it be done?? I have seen example on the sun website but it says these will become obsolete in v1.4.0. Has anyone got any information on this or pointers.
Thanks,
Patrick.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!