my dog learned polymorphism*
The moose likes Swing / AWT / SWT and the fly likes Drag text field on label and set label's text in textfield Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Drag text field on label and set label Watch "Drag text field on label and set label New topic
Author

Drag text field on label and set label's text in textfield

kotecha rohit
Greenhorn

Joined: Apr 13, 2009
Posts: 1

Hi All,

I am developing one swing application in which user can drag blank text field on some label with text.

e.g. Suppose label has text "Capture text here" .
When user drag text field and put on label above word "Capture" then text field's value should be set "Capture".

I have code already to drag text field but not getting how to set text of label in textfield.


Any help would be greatly appreciated.
Thanks in advance.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Drag text field on label and set label's text in textfield