From: Lennart K. <kol...@dt...> - 2004-11-19 18:37:46
|
Hi all! I'm doing an animation with lines, it's part of my lab: http://www.cs.chalmers.se/Cs/Grundutb/Kurser/afp/lab1.html I have set a "on paint" property on a panel to draw all lines on every repaint. This solution is not good since I update the lines every 50ms, i= t gets terrible slow. Somehow I would like to save the animation frame I have got so far and just add some lines on every tick. I noticed there is a drawBitmap function but I have not found a way to draw lines on a Bitmap. I have also found the Image type but it's the sam= e problem there. Any ideas? Thank you for yor help, Lennart Kolmodin |