Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of
Clojure in Action
this week in the
Swing / AWT / SWT
Drag text field on label and set label's text in textfield
posted 6 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 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:
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