Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: text input program building

  1. #1
    Junior Member
    Join Date
    Sep 2019
    Thanked 0 Times in 0 Posts

    Question text input program building

    Hi, how do i build a program that prompts a user to enter texts and can tell user if length of text is okay or not.

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Eastern Florida
    Thanked 2,618 Times in 2,568 Posts

    Default Re: text input program building

    how do i build a program
    Use an editor or IDE to type in the source code and then compile it and execute it.

    See the API doc for the Scanner class and the String class for useful methods to do what you want.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. I building a Chat Program with NetBeans, need to know some few ideas
    By planetHollywood in forum What's Wrong With My Code?
    Replies: 1
    Last Post: May 12th, 2014, 04:56 AM
  2. Trying to input a text file but the program won't read it.
    By Spanky_10 in forum What's Wrong With My Code?
    Replies: 4
    Last Post: February 27th, 2013, 11:50 AM
  3. Text Input into seperate arrays help
    By CommisarDave in forum File I/O & Other I/O Streams
    Replies: 3
    Last Post: July 23rd, 2012, 02:34 PM
  4. Building a triangle using strings and loops...program trouble.
    By orbin in forum Loops & Control Statements
    Replies: 2
    Last Post: June 13th, 2012, 03:29 PM
  5. [SOLVED] allow a new input, dicarding the last mismatch input without terminating the program
    By voltaire in forum What's Wrong With My Code?
    Replies: 2
    Last Post: April 9th, 2010, 04:44 AM