Results 1 to 2 of 2

Thread: Help!

  1. #1
    meizanne009 is offline Member
    Join Date
    Feb 2009
    Posts
    1
    Rep Power
    0

    Unhappy Help!

    :(:(:(hey guys im sorry but can you help me in my project!!!?

    my prof gave me a problem in java applet and i really don't know what code i'm gonna use..

    hirs the prob. i nid to make an applet of an animated boy but its have a ckeckbox button.. the first thing is i need to drawCircle in the side of my applet and then evertime that i will click the checkbox button Ex. []EYES (a checkbox button for the eye) if i checked dis box the eyes of the boy will appear. and then []NOSE(checkbox button for the nose) it will appear the nose of the "BOY"
    and so on for the other part of the boy including his BODY,HANDS, and FEET..i need 8 checkbox for the ff. EYES,MOUTH,NOSE,BODY,L.HAND,R.HAND,L.FOOT,R.FOOT and it will appear vertically in the right side of my applet..that all,,plsss guyss help me..sorry for my ENGLISH(wrong Grammar!):D try to understnd... . . .:( thanks i reaaaallly need your help im gonna past it in this coming feb.12,2009


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

    public class oop extends Applet
    {
    static final int chkUseID = 1;
    Checkbox chk1;
    Checkbox chk2;
    Checkbox chk3;
    Checkbox chk4;
    Checkbox chk5;
    Checkbox chk6;
    Checkbox chk7;
    Checkbox chk8;

    public void init()
    {
    setBackground(Color.magenta);

    chk1= new Checkbox("EYES");
    add(chk1);
    chk2= new Checkbox("NOSE");
    add(chk2);
    chk3= new Checkbox("MOUTH");
    add(chk3);
    chk4= new Checkbox("BODY");
    add(chk4);
    chk5= new Checkbox("LEFT HAND");
    add(chk5);
    chk6= new Checkbox("RIGHT HAND");
    add(chk6);
    chk7= new Checkbox("LEFT FOOT");
    add(chk7);
    chk8= new Checkbox("RIGHT FOOT");
    add(chk8);
    }
    } here's my work butt actually i can't finish it aues i rilly dont know what the next thing i will do
    Last edited by meizanne009; 02-11-2009 at 06:54 AM.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,250
    Rep Power
    19

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •