This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

drag n drop of icon

 
Vikas Kumar Sahu
Ranch Hand
Posts: 59
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Can n e 1 solve my problem,
I m making a tool which should have feature of drag n drop of icons.
It is like in VB, if u want to place text box u can simply llick on
text component and it will place over the form.
Same I want when I want click over icon and drag it this should place
over my form.
 
Craig Wood
Ranch Hand
Posts: 1535
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's one way to do it. You can drag images off the top panel and down to the lower panel. Once (the mouse button is) released the image is set into a JLabel and you can then click on it and drag it around in the lower panel.

[ May 16, 2004: Message edited by: Craig Wood ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic