Thread: Textfield

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2013
    Posts
    62
    Rep Power
    2

    Textfield


    I am creating a 2d game in java japplet. and at end
    of game i want user to enter their user name. now what
    is the best way for me to do this? i am thinking text Field.
    let me know if there is better way.
  2. #2
  3. Contributing User
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Aug 2010
    Location
    Eastern Florida
    Posts
    3,696
    Rep Power
    347
    JOPtionPane has some methods that could be used to prompt the user for input.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2013
    Posts
    62
    Rep Power
    2
    Originally Posted by NormR
    JOPtionPane has some methods that could be used to prompt the user for input.
    i feel like that joptionpane wont look nature. bc i am creating a game in japplet. so it will look weird another window poping up. i want to get user input from that same japplet. that why i was thinking jtextfield.

IMN logo majestic logo threadwatch logo seochat tools logo