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

Thread: How to clear Java output console

  1. #1
    Junior Member
    Join Date
    Apr 2014
    Posts
    9
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default How to clear Java output console

    how to clear my java output console??? plz.... help me


  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: How to clear Java output console

    Some consoles many have a way to clear them with a command. Some don't.
    One silly technique is to write lots of blank lines to push the contents off the screen.
    A better way would be to change the program to use a GUI so you have complete control over what is displayed.
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,520
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default re: How to clear Java output console

    Welcome to the forum! Please read this topic to learn how to post code in code or highlight tags and other useful info for new members.

    Please give your threads titles that describe their topic. For example, this one might be called "How to clear Java output console?" Also, give us the details we need to help you. What console? Are you using an IDE? Are you talking about a command window? If so, which OS?

    Title changed.

Similar Threads

  1. Transferring console output to a textArea....how to make this happen?
    By jakhondi21 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: August 12th, 2013, 04:03 PM
  2. Replies: 2
    Last Post: June 20th, 2013, 10:02 PM
  3. How to make console output bold
    By ColeTrain in forum Java Theory & Questions
    Replies: 6
    Last Post: October 16th, 2012, 09:54 AM
  4. Having problems with output to console....help!
    By toppcon in forum What's Wrong With My Code?
    Replies: 21
    Last Post: July 13th, 2011, 06:38 PM
  5. Changing output from console to .html
    By RSYR in forum File I/O & Other I/O Streams
    Replies: 6
    Last Post: December 10th, 2009, 07:55 PM