Using showStatus in Java Applet

// Using showStatus()

import java.awt.*;
import java.applet.*;

/* <applet code="Statuswindow" width=300 height=50>
   </applet>
*/
public class statuswindow extends Applet
{

    public void init()
    {
        setBackground(Color.orange);
    }
    public void paint(Graphics g)
    {
        g.drawString("This is in the applet window...",20,40);
        showStatus("This is shown in the status window ...");
    }
}


   

Top