Thursday, March 6, 2003 10:37 PM
Look at the primary code:
JPanel panel=new JPanel();
JScrollPane jsp=new JScrollPane();
Now the problem is that when mouse dragged from the self created componnent, the Viewport of jsp auto go to the top of the panel. I hope when the mouse dragged, the viewport of jsp is fixed. So how to solve it? Is there any existed API supportint it?