by Dinesh Thakur Category: AWT and Applets

In this showStatusMessage example You can see an message is shown on the Status bar of  applet.

 /* Show status message in an Applet window code using void showStatus(String Message) method of an applet class. */



<applet code="showStatusMessage" width=300 height=200>
import java.applet.Applet;
import java.awt.Graphics;
public class showStatusMessage extends Applet
      public void paint(Graphics g)
           g.drawString("Hello Dinesh Thakur!", 100, 90);
           showStatus("Showing the Status Message in the Applet Window");  //The text in status bar will be shown


show Status Message in Applet Windows

About Dinesh Thakur

Dinesh ThakurDinesh Thakur holds an B.C.A, MCSE, MCDBA, CCNA, CCNP, A+, SCJP certifications. Dinesh authors the hugely popular blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps. For any type of query or something that you think is missing, please feel free to Contact us.

Related Articles