Results 1 to 9 of 9

Thread: need help for a b and c menu for my proj.

  1. #1
    Join Date
    Jan 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile need help for a b and c menu for my proj.

    could anyone hep me to do some favor pls...
    i want some java applet for a b c menu
    this is the applet that i want

    choises is A B AND C
    [A] burger = amount
    [B] fries = amount
    [C] chicken = amount
    (all the choises is clickable)
    (and here is the) Total =

    its up to you if you want scroll menu or a drop down menu
    i really appreciate if you can do this for me thanks for advance
    YOUR WORK GONNA SAVE MY GRADE THANKS A LOT

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    We do not do homework FOR you. If you have a question (and it isn't something you should know from class), then we can help.
    We do not just write code for you, because you learn by writing it-- homework in a class isn't a job, but practice and if you don't want to do the work then don't take the class (and you won't learn how to program).
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Jan 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    yes but only thing that i could pass that subject is to do the project i dont like that subject but i have no choice i am a network administrator not a programmer but we need to take that subject and pass it b4 you go to the next level i am really dont understand what is it im sorry hope you understand what i meant for,i really hate that subject but i have no choice but to take it.pls.. help me

  4. #4
    Join Date
    Jan 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    besides this applet its not part of my job this aplet did not teach us! we did java programming not java applets,pls pls help me

  5. #5
    Join Date
    Jan 2009
    Location
    Athens, GA
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation

    If you're asking for someone to do this for you, I suggest going to other sources without scruples. Since this is for a grade, someone else doing your work in no way benefits you. In fact, you run the risk of getting kicked out of your school.

    I haven't written Java applets myself, but if you have experience writing GUI programming in Java, it shouldn't be too difficult to do (usually just a couple of lines of import statements and of course the applet element tag in a HTML file).

    I suggest looking at the Official Java Tutorials by Sun for a start (http://java.sun.com/docs/books/tutorial/).

    If you have a more specific question, I might be able to help.

  6. #6
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Just like if you were not good at writing, we won't write a paper for you, and we won't do your project for you.
    If you want to find someone to do it for you, look somewhere else, and I doubt that it'll be for free, but that's entirely up to you and a BAD idea-- as said above, you could get kicked out of school.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  7. #7
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    An applet isn't much different to normal AWT/Swing development: you just have to have your entry class extend Applet or JApplet and implement a start method instead of using main. There are some operations that are obviously restricted for security reasons, but for something like this you shouldn't need any of them.
    i am a network administrator not a programmer but we need to take that subject and pass it b4 you go to the next level i am really dont understand what is it
    You'll never be a decent netadmin if you don't know how to program. The programming class is required for a reason, although for a netadmin Perl and C are probably more useful than Java. Still, the principles are the same, and you need to learn them.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  8. #8
    Join Date
    Jan 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i made this code for java programming this is the only thing i know, i really dont know how to make this for applet can you guys pls check this, sorry guys to disappoint you!i really not aware for applet

    import java.io.*;
    public class ValueMeal{
    public static void main(String args[]) throws Exception{

    char choice, again='x';
    int number, total, change, cash;

    BufferedReader a=new BufferedReader(new InputStreamReader(System.in));

    System.out.println("Value Meal");
    System.out.print("[A] Burger w/ Drinks P25.00\n");
    System.out.print("[B] Burger, Fries w/ Drinks P35.00\n");
    System.out.print("[C] Spaghetti w/ Drinks P40.00\n\n");
    System.out.print("Enter your Choice: ");

    choice=Character.toUpperCase((char)System.in.read());
    System.in.read(); System.in.read();


    if(choice=='A' || choice=='B' || choice=='C'){

    System.out.print("Quantity: ");
    number=Integer.parseInt(a.readLine());

    switch(choice){

    case 'A':
    System.out.print("Your order is: " +number+ " Burger w/ Drinks\n\n");
    total=number*25;
    System.out.println("Total: " +total);
    System.out.print("Cash: ");
    cash=Integer.parseInt(a.readLine());

    change=cash-total;

    System.out.print("Change: " +change);

    break;
    case 'B':
    System.out.print("Your order is: " +number+ " Burger, Fries w/ Drinks\n\n");
    total=number*35;
    System.out.println("Total: " +total);
    System.out.print("Cash: ");
    cash=Integer.parseInt(a.readLine());

    change=cash-total;

    System.out.print("Change: " +change);

    break;
    case 'C':
    System.out.print("Your order is: " +number+ " Spaghetti w/ Drinks\n\n");
    total=number*40;
    System.out.println("Total Amount Due: " +total);
    System.out.print("Cash: ");
    cash=Integer.parseInt(a.readLine());

    change=cash-total;

    System.out.print("Change: " +change);

    break;
    }
    }else
    System.out.print("Invalid");


    System.out.print("\n");

    }
    }


    now i want you guys to do me a favor pls how to make this in applets!! thanks

  9. #9
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

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