Performance « Graphics « Java Swing Q&A





2. paint() and performance    coderanch.com

Hello there, I have an app that draws lines of text on a canvas component. Canvas is put into a scrollpane and vertical scrolling is carried out when up or down keys are pressed. Text is first read from a text file and everything works perfectly for as long as the text file size is relatively small. When I try to ...

3. swing paint performance    coderanch.com

I have an application that i wrote, it has two panels. on the panel i allow the user to add photo's i then scale them down to thumbnails as the user adds them and store them in and arraylist. I then paint all the thumbnails in the list into the panel. But the repainting of these images is very slow, is ...

4. Improving Graphics Drawing Performance    coderanch.com

Hi all, I have a third party software (anyone familiar with ArcGIS Engine for Java?) that plots stuff on my awt frame. The problem is that some of the animation is excruciating slow. It seems to draw using some GDI+ apis which is hogging my cpu cycles instead of my graphics card. Is there anyone who knows how to improve GDI+ ...