Results 1 to 2 of 2
  1. #1
    sarahhh is offline Member
    Join Date
    Jan 2010
    Posts
    1
    Rep Power
    0

    Default average using dialog boxes.

    hello, i am supposed to turn a a java project that finds the average. But i have to use dialog boxes.
    I have a program done that can find the average of how many numbers the user wants,
    and i can write a java program to find to average but only for a certain about of numbers, and the program has to be how ever many the user wants.
    is this even possible? if it is can someone help me with it?
    im using Jcreator LE 4.00

    thanks =]

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    You probably want to use JOptionPanes. I suggest you check out the Sun Java tutorial on how to use these as it's pretty thorough. Google should help you find it. Much luck, and please come back if after reading the tutorial and trying to create your program you run into any trouble.

Similar Threads

  1. Replies: 2
    Last Post: 11-22-2008, 05:30 AM
  2. Test score average
    By ryn21 in forum New To Java
    Replies: 11
    Last Post: 10-17-2008, 05:49 AM
  3. Calculate Average
    By sthack99 in forum New To Java
    Replies: 4
    Last Post: 06-13-2008, 11:09 AM
  4. sum,product,average program
    By chitwood in forum New To Java
    Replies: 7
    Last Post: 01-24-2008, 05:18 AM
  5. Calculate average age for women and men?
    By Legoland in forum New To Java
    Replies: 3
    Last Post: 04-18-2007, 10:38 AM

Posting Permissions

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