Important: Use custom search function to get better results from our thousands of pages

Use " " for compulsory search eg:"electronics seminar" , use -" " for filter something eg: "electronics seminar" -"/tag/" (used for exclude results from tag pages)


 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PROGRAM TO DRAW A HUMAN FACE USING APPLET
Post: #1

Code:
import java.applet.*;
import java.awt.*;
import java.util.*;
import java.awt.event.*;

//<applet code=Face width=300 height=300></applet>

public class Face extends Applet
{

    public void init()
       {
    setBackground(Color.red);
    setForeground(Color.green);
       }

    public void paint(Graphics g)
    {
    Font f=new Font("Arial",Font.BOLD,20);
    g.setFont(f);
                   g.drawOval(40,40,120,150);
                   g.drawOval(57,75,30,20);
                   g.drawOval(110,75,30,20);//eye
                   g.fillOval(68, 81,10,10);
                  g.fillOval(121, 81,10,10);
                  g.drawOval(85, 100,30,30);
                  g.drawOval(25, 92,15,30);
                  g.drawOval(160,90,15,30);
                  g.fillArc(60,125,80,40,180,180);
                  g.drawOval(160,90,15,30);
    }
}


OUTPUT
E:\msc3\jiss\java>javac Face.java
E:\msc3\jiss\java>appletviewer Face.java

Please Use Search http://projects-seminars.net/search.php wisely To Get More Information About A Seminar Or Project Topic
Post: #2
You can use a java applet for that. Apply the formulas of computer graphics and draw a human face. You can also draw different shapes by using the applet and swing also.
Post: #3
How to make applet class first its shwng error
Post: #4
sunil chaudhry
 


[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Image Verification
(case insensitive)
Please enter the text within the image on the left in to the text box below. This process is used to prevent automated posts.
Marked Categories : applet face, program of applet which draw human face, how to draw human face in java, draw human face in java applet, programme to draw the face, program to make face in java using applets, applet program to draw a face, coding draw a human face in applet, java applet code for face, applet programming in java, humanface using applets, face program for applet, c code to display human face using computer graphics, human face in applet, program of face in applet in java, applet java program for the output of draw the house, draw human face steps using programming, program of house using applet, how to draw a face on applet, program for human face using applets,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Image Verification
(case insensitive)
Please enter the text within the image on the left in to the text box below. This process is used to prevent automated posts.

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  large scale power generation using fuel cell ppt and document and abstract Guest 0 0 Yesterday 06:17 AM
Last Post: Guest
  patient fall detection using hip and abdomen sensors Guest 1 0 24-03-2017 09:36 AM
Last Post: jaseela123
  child tracking system using android phones srs ppt Guest 1 0 24-03-2017 09:25 AM
Last Post: jaseela123
  concealed weapon detection using digital image processing ppt Guest 1 0 23-03-2017 10:08 AM
Last Post: jaseela123
  ppt on electrical power generation system using railway track slides Guest 1 0 22-03-2017 04:09 PM
Last Post: jaseela123
  aqua communication using modem ppt download Guest 1 0 22-03-2017 03:41 PM
Last Post: jaseela123
  matlab source code for image compression using dct Guest 1 0 21-03-2017 01:06 PM
Last Post: jaseela123
  pdf double acting hacksaw machine using scotch yoke mechanism Guest 3 0 21-03-2017 11:57 AM
Last Post: jaseela123
  ppt on double acting hacksaw machine by using scotch yoke mechanism Guest 1 0 21-03-2017 11:34 AM
Last Post: jaseela123
Thumbs Down image forgery detection using DCT Guest 2 0 15-03-2017 09:18 AM
Last Post: jaseela123
This Page May Contain What is PROGRAM TO DRAW A HUMAN FACE USING APPLET And Latest Information/News About PROGRAM TO DRAW A HUMAN FACE USING APPLET ,If Not ...Use Search to get more info about PROGRAM TO DRAW A HUMAN FACE USING APPLET Or Ask Here

Options: