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 5 of 5

Thread: Why won't it write the output away?

  1. #1
    Member
    Join Date
    Sep 2012
    Location
    The Netherlands
    Posts
    84
    My Mood
    Inspired
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default Why won't it write the output away?

    I have made this a script that need to write me a certain output.
    Now the script works, as I can see that to my print statement.
    And it also writes the output away.

    But why does it print my first line behind my header?

    xD

    Never mind, I noticed the problem. :p
    Last edited by Purple01; October 11th, 2012 at 08:04 AM.


  2. #2
    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: Why won't it write the output away?

    Sorry, I have no idea what you're asking. What exactly do you mean by "writes the output away"?
    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!

  3. #3
    Member
    Join Date
    Sep 2012
    Location
    The Netherlands
    Posts
    84
    My Mood
    Inspired
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default Re: Why won't it write the output away?

    It didn't store the output in the file.
    But I forgot a line so that it also would print it to there.

  4. #4
    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: Why won't it write the output away?

    I'm glad you got it working, but many consider it rude to edit your post to remove code after you solve the problem. Perhaps a better idea is to explain what happened and how you fixed it so anybody with a similar problem in the future can find these forums and learn from what you found out.
    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!

  5. The Following User Says Thank You to KevinWorkman For This Useful Post:

    jps (October 11th, 2012)

  6. #5
    Member
    Join Date
    Sep 2012
    Location
    The Netherlands
    Posts
    84
    My Mood
    Inspired
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default Re: Why won't it write the output away?

    I will do that in the future.
    Thanks.

Similar Threads

  1. how could I output to a text area the output of a method
    By mia_tech in forum What's Wrong With My Code?
    Replies: 6
    Last Post: July 12th, 2012, 07:49 PM
  2. how would u write these 2 programms.
    By jim213mm in forum Java Theory & Questions
    Replies: 2
    Last Post: February 2nd, 2012, 09:58 AM
  3. How would you write this code?
    By laughingeyes18 in forum Object Oriented Programming
    Replies: 2
    Last Post: December 1st, 2011, 09:46 AM
  4. How would I write this in Java?
    By Arkeshen in forum Java Theory & Questions
    Replies: 3
    Last Post: May 15th, 2011, 11:30 AM
  5. How to write this without
    By Scotty in forum What's Wrong With My Code?
    Replies: 2
    Last Post: March 21st, 2011, 09:04 AM