If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

droppable UI element in Java Swing

Hi,
I want to develop an application in Java Swing. The application I am going to develop is an application for developing other applications. I want my application to include a button which also acts as a drag and drop UI element. For example, I want my application to include a button for adding a picture. There are 4 buttons of different pictures. If a user wants to add a picture he can either click on one of these buttons and that picture will be added somewhere on the screen or dragging this button and drop it and that picture will be added where he dropped that button.
Could anyone please tell me…
1. If I can develop an application which includes Drag and Drop UI element if I develop it in Java Swing
2. If a button (or other UI element) can act as both a button and a drag and drop element if I develop my application in Java Swing
Thanks in advanced

Hi, thanks for answering so fast. I am not a real developer but a User Experience expert. I designed an application and I want to know if it is possible to develop it in Java Swing. I tried to read what you linked but couldn't understand what it means. Could you please help me with understand and finding the answer?