Hello All.

I have created a JInternalFrame inside a JDesktopPane. There is a scrollPane inside of the JInternalFrame. Inside this scollPane is a list of items. I need to find out what section of this list is currently being shown to the user while they are scolling up and down.

For example there is a list of 20 items in my internal frame .. but the InternalFrame has been expanded / minimized to only show 5 of them. How do I know the coords that the viewport is in compairison to the original list.

I have NO idea where to even start trying to figure this out. Any suggestions would be very much appreciated!