Smile emoji using graphics in Java using Applet



import java.awt.*;
import java.awt.event.*;
import java.applet.*;
public class Smile extends Applet
{
    public void paint(Graphics g)
    {
        setBackground(Color.BLACK);
        g.setColor(Color.YELLOW);
        g.fillOval(30,50,100, 100);
        g.setColor(Color.BLACK);
        g.fillOval(55,75,10, 10);
        g.fillOval(95,75,10, 10);
        g.drawArc(60, 85, 40,40,-30,-120);
    }
   
}

/*
<applet code="Smile.class" width="200" height="200"> </applet>
*/


OUTPUT:


Comments

  1. how we could make different emojisss

    ReplyDelete
  2. First select the emoji you want to draw. Then after go in the details of that emoji and find out all the elementary geometric shapes that are used to build it. And then start drawing.

    ReplyDelete
  3. Smile Emoji Using Graphics In Java Using Applet >>>>> Download Now

    >>>>> Download Full

    Smile Emoji Using Graphics In Java Using Applet >>>>> Download LINK

    >>>>> Download Now

    Smile Emoji Using Graphics In Java Using Applet >>>>> Download Full

    >>>>> Download LINK 8v

    ReplyDelete

Post a Comment

Popular posts from this blog

HOW TO SETUP CODE BLOCKS FOR GRAPHICS PROGRAMS