File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
clearing the screen/window with applets
Joined: Aug 06, 2004
Nov 16, 2004 10:01:00
Let's say I write a basic Java
that draws a rectangle. Then I want to "erase" that or clear the gray window and draw something else. Do I have to paint over the entire screen with gray again, or is there a way to clear the output?
Joined: Oct 27, 2004
Nov 16, 2004 12:16:00
you could just repaint the background?
I agree. Here's the link:
subject: clearing the screen/window with applets
Two focused window at the same time
How to 'dim' the canvas?
Need help with screen design
Game Tutorials -->> Exploring Browser Support for Java 2
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013