Hi,
 I am working on a project which involves drag and drop operation.
Application has two panes . left pane holds icons(gif images),Right pane
is the workarea 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?.
Any ideas will be appritiated. 
It is urgent. plz Help.
Dheeraj
 [EMAIL PROTECTED]


_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to