File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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.
It is sorta covered in the
JavaRanch Style Guide
subject: Drag text field on label and set label's text in textfield
How do you make a form?
shortcut key for label
Facing with Drag and Drop issues
simple code problem
hot to set back to normal color of a JLabel
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014