A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
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
simple code problem
Facing with Drag and Drop issues
How do you make a form?
hot to set back to normal color of a JLabel
shortcut key for label
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014