CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: multiple input

  1. #1
    Join Date
    Feb 2013
    Posts
    4

    multiple input

    I'm doing a mortgage program for my Computer Science Java class. I would like to find a way to use a single JOptionPane dialog box to have the user input the amount and the rate, both of which are doubles.

    thank you

  2. #2
    Join Date
    May 2006
    Location
    UK
    Posts
    4,473

    Re: multiple input

    Why not code your own JDialog that has the two input fields in it.
    Posting code? Use code tags like this: [code]...Your code here...[/code]
    Click here for examples of Java Code

  3. #3
    Join Date
    Feb 2013
    Posts
    4

    Re: multiple input

    Thank you for the reply. I am fairly new to Java. Can you please post an example as to how I would do
    this?

  4. #4
    Join Date
    May 2006
    Location
    UK
    Posts
    4,473

    Re: multiple input

    Posting code? Use code tags like this: [code]...Your code here...[/code]
    Click here for examples of Java Code

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured