Results 1 to 3 of 3
  1. #1
    ashraf is offline Member
    Join Date
    Sep 2011
    Posts
    2
    Rep Power
    0

    Question how to get user input in JFrame

    Can someone help me to do this question?please...im still new in Java,need help here...

    Write an application program to display user’s date of birth. User enters name and the first 6
    digits of her/his IC number (refer to Figure Q2a). Once the user clicks the “CHECK” button, the
    user’s date of birth will be displayed as shown in Figure Q2b. [Hint: Apply substring() for
    this question].
    how to get user input in JFrame-java-question.jpg

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,963
    Rep Power
    8

    Default Re: how to get user input in JFrame

    Sounds like a job for a JTextField.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

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

    Default Re: how to get user input in JFrame

    Quote Originally Posted by ashraf View Post
    Can someone help me to do this question?please...im still new in Java,need help here...
    Help you with what? You haven't asked a specific answerable question. Please have a look at the link in Kevin's post on how to ask smart questions as it gives great tips on how to ask an answerable question.

Similar Threads

  1. User Input???
    By jonytek in forum New To Java
    Replies: 8
    Last Post: 01-13-2013, 02:52 PM
  2. Help with user input
    By sconniegorilla in forum New To Java
    Replies: 2
    Last Post: 02-16-2011, 02:00 PM
  3. Need help getting input(first/last name) from user
    By nightrise420 in forum New To Java
    Replies: 11
    Last Post: 09-11-2010, 03:09 AM
  4. User Input
    By brmcdani in forum New To Java
    Replies: 2
    Last Post: 02-05-2010, 01:59 AM
  5. User input- Pop Up Box
    By dedachi in forum AWT / Swing
    Replies: 3
    Last Post: 03-23-2009, 04:47 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
  •