*********************
import java.applet.Applet;
import java.awt.*;
*********************
public class HelloWWW extends Applet {
private int fontSize = 40;
public void init() {
setBackground(Color.black);
setForeground(Color.white);
setFont(new Font("SansSerif", Font.BOLD, fontSize));
}
public void paint(Graphics g) {
g.drawString("Hello, World Wide Web.", 5, fontSize+5);
}
}
<<<<<<<<<<<<<<<<<<<<<
Similar Posts
Machine Learning, Big Data, Data Science, Analytics, Cloud, Security, AI, Robotics, Database, BI, Development: Software, Web, Mobile