dheeraj
05-07-2001, 12:09 PM
Hi,
I am working on a project which involves drag and drop operation.Application
has two panws . left pane holds icons(gif images),Right pane is the work
area where user can drag and drop the icons and can connect them to draw
flow diagram.I have used Dnd API to drag the icon from left pane and drop
it on right pane. Up till everything is working fine.On right pane(work area)icons
can be dragged to move to some other location.To achieve this functionality
i have used mouseDragged method.It is working but the speed of moving icons
on workarea is very slow.Sometimes the icons stops moving even i move my
mouse(This happens when i start moving the mouse quickly).I observed the
performance of dragging operation , the cpu usage is almost 100%. can anyone
like to help me in finding the solution.How do i make my program run faster(dragging
icon operation).how can i reduce the 100% cpu usage?.
Please help........... It is urgent.Any ideas will be appritiated.
Thanks in advance
Dheeraj
wagi77@yahoo.com
I am working on a project which involves drag and drop operation.Application
has two panws . left pane holds icons(gif images),Right pane is the work
area where user can drag and drop the icons and can connect them to draw
flow diagram.I have used Dnd API to drag the icon from left pane and drop
it on right pane. Up till everything is working fine.On right pane(work area)icons
can be dragged to move to some other location.To achieve this functionality
i have used mouseDragged method.It is working but the speed of moving icons
on workarea is very slow.Sometimes the icons stops moving even i move my
mouse(This happens when i start moving the mouse quickly).I observed the
performance of dragging operation , the cpu usage is almost 100%. can anyone
like to help me in finding the solution.How do i make my program run faster(dragging
icon operation).how can i reduce the 100% cpu usage?.
Please help........... It is urgent.Any ideas will be appritiated.
Thanks in advance
Dheeraj
wagi77@yahoo.com