Skip to main content
gamedev.net
๐Ÿ”’ Locked

[java] Paint()

Started by NightMonkey Apr 18, 2004 at 7:46 AM 1 replies 300+ views
Original Post
NightMonkey
NightMonkey
I am creating a applet and want to draw images to the screen without clearing the displlay. When i call repaint() or update() they both clear the screen. Is there any way of stoping them from doing this or is there a way to draw directly to the screen without clearing it. Thanks for the help.
shmoove
shmoove
I think you have to overload update(). AFAIK, the default implementation clears the screen. So adding an empty implementation would "cure" that.

shmoove

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.