Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2005

Tip: Looking for answers? Try searching our database.

Clearing the console

Thread view: 
aravindr_88 - 07 Nov 2005 09:22 GMT
                          I wanted to know is there exists any
standard way to clear the console programatically. Thanking in advance.

                                                          Bye
Gordon Beaton - 07 Nov 2005 09:10 GMT
> I wanted to know is there exists any standard way to clear the
> console programatically. Thanking in advance.

"The" console is different on different platforms, and on some
platforms there are more than one to choose from. Java doesn't provide
any mechanisms to help with this.

You seem to be posting from Linux, so you can most likely achieve what
you want by printing xterm control sequences to System.out. Use Google
to find the standard document.

/gordon

Signature

[  do not email me copies of your followups  ]
g o r d o n + n e w s @  b a l d e r 1 3 . s e

Roedy Green - 07 Nov 2005 10:30 GMT
>                           I wanted to know is there exists any
>standard way to clear the console programatically. Thanking in advance.

see http://mindprod.com/jgloss/console.html
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.