Hi all.

I have problems with scrolling big image in JScrollPane.
The image is produced by MemoryImageSource and its size is 800x600.
It's displayed in JPanel, which has redefined paintComponent method to draw
this image.

When I scroll with scrollbars it allocates huge amount of memory (about
10MB).
If  I scroll GIF image, there are no problems.

I tried so far following:
- backingStore
- EnableWindowBlit property
- disable doubleBuffering

But without success.

Can someone tell me how to solve this?

Thanks
Radim

_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to