Color Program

No Comment - Post a comment

/*Java Program To Display Simple Text on the applet, making use of Color class. Done using Applets. */

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

public class AppletColor extends Applet
public void paint(Graphics c)
c.drawString("Lionel Is a Cool Boy",100,50);

//< code =" AppletColor" width =" 350" height =" 150">< / applet >

This Post has No Comment Add your own!

Post a Comment