JScrollPane H E L P
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!
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL