|
-
New to Applets, how do I do this?
O.K. I have this Applet task. I am fairly new to using Applets and need a bit of a kickstart.
I have to create an applet that will display a message in large font and a black color, then slowly fade the color away. The program needs a delay loop to slow down the action.
I have started out with this but are stuck for the main body:
import java.awt.*;
import java.applet*;
public class Fade extends Applet
{
Font header= new Font("SanSerif",Font.BOLD,36);
String text;
String temp;
int delayLimit;
};
Is delayLimit needed. Any help with how to do this would be great, am finding this a bit confusing. Thanks everyone in advance.
Steve
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks