devxlogo

November 14, 2002

Adding a Timer to Your Application

Java swing provides a Timer class to cause an action at a pre-defined rate. For instance, you could have a label that blinks at a pre-defined rate. The class has

Sending HTML and ASCII Formatted E-mails

To do this, you need the javax.mail package. It’s a part of J2EE and available from java.sun.com.Sending a simple e-mail is pretty easy: import java.util.Properties;import javax.mail.*;import javax.mail.internet.*;public class Mail {static