Using getScaledInstance() method
The Image class method getScaledInstance() doesn't seem to work.
I'm using Java 2 v1.3 on Windows ME. The drawImage() method of Graphics class
displays a scale down version of my images, but that's not what I want. I
want to display the scaled image not have drawImage scale it for me.
At times the getScaledInstance() method prevents any graphics from being
displayed after jvm tries to use drawImage() to display it. It is as if the
scaled version isn't created and the program hangs up there.
If anyone has any experience using it or similar problem(s), let me know.
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