File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Performance and the fly likes Faster Drawing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Performance
Bookmark "Faster Drawing" Watch "Faster Drawing" New topic

Faster Drawing

Nick Howell

Joined: Mar 28, 2002
Posts: 26
First off, I apologize if this is in the wrong category but there was no "Faster Drawing Forum" and I got confused. As you may have already assumed I'm having problems with drawing. I have viewed the Java2D demo applet that comes along with the JDK and I have tried many of the same techniques yet, my techniques are consistently slower, despite being smaller in scale than those in the J2D demo. Can anyone give advice or direct me to a tutorial that can help speed up my drawing processes. I'll save some time by saying I do use a buffered image before I draw to the screen.

Thanks.<br />-Nick
Michael Ernest
High Plains Drifter

Joined: Oct 25, 2000
Posts: 7292

Hi Nick -
Looks to me like you've got the right forum; perhaps we don't have enough draw experts around to help you on this one. I'm certainly no real help.
I did find this link through google which may help you on a general track. I didn't read the whole thing but maybe it at least helps you frame the problem.

Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
Jim Yingst

Joined: Jan 30, 2000
Posts: 18671
I haven't really done much with drawing either, so no help here. You might have better luck asking in the Swing / AWT forum though. Good luck.

"I'm not back." - Bill Harding, Twister
Nick Howell

Joined: Mar 28, 2002
Posts: 26
Thanks anyways guys! That tutorial looks like it will definitely help me narrow things down.
I agree. Here's the link:
subject: Faster Drawing
It's not a secret anymore!