This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Drag text field on label and set label's text in textfield

kotecha rohit
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi All,

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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic