I am currently trying to use a class that extends Frame (taken from a text). This class acts as a drawing surface. My goal is create an applet using the Slate class, however, I have not been successful with it. First is this possible? or is there some kind of conflict between invoking paint(). My ultimate goal is to draw the graphics using slate instead of overriding paint in applet and then to create an animated applet. I would assume that creating a new Frame instead a applet would be possible. Any thoughts, greatly appreciated.
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35253
7
posted
0
Yes, applets can open Frame windows. When you say "I have not been successful with it", what exactly does that mean? Is the window not opened? Does the painting not occur? TellTheDetails of how you're using this class.