Click « Drag Drop « Java Swing Q&A





1. drag and drop DND click, then move??    coderanch.com

I am developing a Java application in 1.5 that utilizes drag and drop to move data between two JLists. My question: why is there a delay in moving the items? I need to first click on the item, then click and drag it to the other list. This behavior isn't intuitive; I wouldn't expect to first have to select the item, ...

2. How to avoid mouse click event getting called when user press,drag and release the mouse    coderanch.com

Hi, I have a Jtable component in my UI. I have implemented sorting of columns on click of column header using a Comparator.. The comparator is called in the mouseClicked event. My problem is.. when we try to resize the column i.e click on the border of columns drag and release... the mouse click event gets fired and that particular column ...

3. drag and drop with click function    java-forums.org

hey people i'm new here and I have to make an list of 9 Jbuttons if you click on them, it wil show the value of the current question. not very difficult would you say. The hard part is, is that you will have to drag and drop the buttons so you can switch answers.:eek: can somebody help me?:confused: bye