Register / Login
Win a copy of
Building Blockchain Apps
this week in the
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Swing / AWT / SWT
Drag text field on label and set label's text in textfield
posted 10 years ago
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
"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.
keep an eye out for scorpions and black widows. But the tiny ads are safe.
Java file APIs (DOC, XLS, PDF, and many more)
Boost this thread!
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