This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

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
Boost this thread!