Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Input box / JoptionPane in Java???

  • 08-04-2004 03:35PM
    #1
    Closed Accounts Posts: 1,637 ✭✭✭


    Hi all,

    I want to make a input box with two inputs using JOptionPane, or other method if there is one?

    e.g.

    Message Box
    ___________________________________________

    First Name: [____]
    Second Name: [____]
    ___________________________________________

    with an information message, how would I do this?

    Thanks in advance JoePC


Comments

  • Registered Users, Registered Users 2 Posts: 491 ✭✭Silent Bob


    Two Input Boxes.

    that is all.


  • Closed Accounts Posts: 1,637 ✭✭✭joePC


    e.g.

    choice = JOptionPane.showInputDialog("Please Enter Name");

    This displays a input box, with one input how do you make it so it has two inputs?

    Thanks joePC


Advertisement