Problem in DND using Horizontal wrap JList
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sathish_Kumar
Posted On:   Tuesday, April 12, 2005 11:01 PM

Hai, I ve the following problem in DND operation. I am using a JList which transfers data using a transfer handler. When i perform drag on a JList , It has to select the element which comes under the dragging point. It works fine by default. But when i change LayoutOrientation of the JList like, jList.setLayoutOrientation(JList.HORIZONTAL_WRAP) ; jList.setVisibleRowCount(2) ; then Elements are not getting selected properly during the drag operation. Can any of you tell me why it happens and how can we rectify this problem and i ve one more doubt also. Can we change the cursor    More>>

Hai,


I ve the following problem in DND operation.

I am using a JList which transfers data using a transfer handler.


When i perform drag on a JList , It has to select the element which comes under the dragging point. It works fine by default. But when i change LayoutOrientation of the JList like,






jList.setLayoutOrientation(JList.HORIZONTAL_WRAP) ;


jList.setVisibleRowCount(2) ;







then Elements are not getting selected properly during the drag operation.


Can any of you tell me why it happens and how can we rectify this problem


and i ve one more doubt also. Can we change the cursor which is used for DND operation ?




Thanks & Regards,


Sathish    <<Less
About | Sitemap | Contact