FileDocCategorySizeDatePackage
EmailTest.javaAPI DocExample534Mon Jan 09 11:02:02 GMT 2006None

EmailTest

public class EmailTest extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

        JFrame frame = new JFrame("Hack #68: Embedded email checking");
        JLabel status = new JLabel("You have XXX unread messages.");
        frame.getContentPane().add(status);
        frame.pack();
        status.addMouseListener(new EmailLauncher());
        
        EmailChecker email = new EmailChecker(status);
        new Thread(email).start();
        
        frame.setVisible(true);