A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Drag text field on label and set label's text in textfield
Joined: Apr 13, 2009
Apr 13, 2009 03:45:19
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.
I agree. Here's the link:
subject: Drag text field on label and set label's text in textfield
How do you make a form?
Facing with Drag and Drop issues
hot to set back to normal color of a JLabel
shortcut key for label
simple code problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015