Scrolling a Graphics2D
I have a Jpanel contained into a JScrollPane. I'm displaying images into
it using Graphics2D fucntions, and especially the AffineTransforms.
The problem I have is that the Images I display are referenced from the
borders of the Panel, and not from those of the Scrollpanel. That means
that The objects don't move if I use the scroll bars.
Has anybody got a solution ?
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