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.


>> REGISTER NOW TO START POSTING


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

Results 1 to 9 of 9

Thread: java applet

  1. #1
    Junior Member
    Join Date
    Feb 2014
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default java applet

    java text analysis


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: java applet

    instead it is doing it on the same line
    Put an end line character at the end of each line where you want the next record to go on a new line.
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Junior Member
    Join Date
    Feb 2014
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: java applet

    Quote Originally Posted by Norm View Post
    Put an end line character at the end of each line where you want the next record to go on a new line.
    Not working either? i need it to basically go down the loop, when it comes to the end print the result for the first word which the user enters then go back to the start of the loop and do the same until all the words the user has entered have been analysed.

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: java applet

    Have you solved your problem now?
    If you don't understand my answer, don't ignore it, ask a question.

  5. #5
    Junior Member
    Join Date
    Feb 2014
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: java applet

    no, i dont know how to do it, sorry i am a beginner at java :/

  6. #6
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: java applet

    Can you describe what steps the code needs to take as it scans the contents of the input line to compute the results that you want to print? Here are the high level steps:
    Scan the contents of the line << This step needs to be expanded
    Print the report
    If you don't understand my answer, don't ignore it, ask a question.

  7. #7
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: java applet

    Also posted at: Java applet - Dev Shed
    If you don't understand my answer, don't ignore it, ask a question.

  8. #8
    Junior Member
    Join Date
    Feb 2014
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: java applet

    Hi, thanks for your help, i managed to figure it out

  9. #9
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: java applet

    Quote Originally Posted by tuks View Post
    Hi, thanks for your help, i managed to figure it out
    And you decided to go back and remove your code, so other people couldn't get help with similar problems in the future? Sorta defeats the purpose of a forum, doesn't it?
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

Similar Threads

  1. java applet
    By laine in forum What's Wrong With My Code?
    Replies: 3
    Last Post: December 8th, 2013, 04:34 AM
  2. Need Help with this java applet
    By bruizer in forum Threads
    Replies: 5
    Last Post: September 23rd, 2012, 11:01 PM
  3. Running a java applet inside a java window?
    By frozen java in forum Java Theory & Questions
    Replies: 3
    Last Post: July 3rd, 2012, 10:55 PM
  4. Replies: 29
    Last Post: May 18th, 2012, 02:16 PM
  5. Need help with Java applet
    By Trendle in forum Java Applets
    Replies: 0
    Last Post: May 18th, 2012, 11:30 AM