[Date Prev][Date Next][Index][Thread]
[SGT Mail Archive]
[SGT Main Page]
Creating an animation with BuffferedImages
- To: sgt@noaa.gov
- Subject: Creating an animation with BuffferedImages
- From: Matthias Trümmel <matthias.truemmel@gmail.com>
- Date: Sat, 12 Jan 2008 23:26:32 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=a5exswNpVXEf7GMWjKJqqoeoRn2AoleJTy3JcAjXLOk=; b=ZyAOWlDIEN5yr7dDW+Z9RS1BvehJDNMWoDkj6mePSCKWU0j+0i7l5idxintAs7024Oq2meIHNUqgLFd0C5goMbkRGsNpth5zd07yRmfMuThXEAYha+68VEXs1+mLosxehuGT5QSJv9eIdGj9sXuoCgJA6n0BtFqF+SU5V5tS+Ts=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=Fuzi3GHxiSqemDTzLfBEEu7kOcWUQw1+fUmotzXcIerJTgDUaWHoUKy9VYnl8+lsoO7vWOWBHJdVd3UD1DzCDPHu9hcHFbeXE3EjDaPetpk35Qc5Kpah8Zt2rrkfzAbrLHuDz2mRhnQEF7YrLPO8Lx1+Z+mWLaYArDWRwFALpnw=
- Reply-to: Matthias Trümmel <matthias.truemmel@gmail.com>
- Sender: owner-sgt@noaa.gov
Hi,
I'm currently working with SGT for a school-project.
My current target is to create an animation out of the given data.
Because of the great amount of data I want to preload the frames to BufferdImages (or something similar) to enhance the performance.
To do so I call the paint(Graphics g) method with the Graphics-object from the BufferedImage.
But when I want to show the BufferedImage on the screen the screen remains empty.
Are there any methods I have to call first in order to get the data drawn?
Thanks in advice,
Matthias
Privacy Notice,
External Links Disclaimer.