Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Java
Out of memory with BufferedImage
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Roedy Green, post: 567473"] You only required in your paint or paintComponent method to draw the part inside the clipBounds You can draw just that part of the model from scratch each time paint is called. Then you only have the vector storage, which does not get bigger when you magnify. If you want to get very clever, you can predraw tiles, and cache them, only redrawing tiles as needed. If you want to get very fancy, you do your redrawing in the background, preemptively guessing which tiles you will need next. see [URL]http://mindprod.com/jgloss/repaint.html[/URL] for more details. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Java
Out of memory with BufferedImage
Top