Ok Ashi and Bernd Thaks you very Much
Nelson Rodrigo Staff Officer - Software Development LOADSTAR (PRIVATE) LIMITED Sri Lanka | Tel: +94 11 483 7914 | Fax: +94 11 224 0892 | Mobile: +94 77 311 6556 P SAVE PAPER - Please consider our environment before printing * _____ From: ashish shrestha [mailto:ashishst...@gmail.com] Sent: Friday, February 06, 2009 2:37 PM To: nelson.rodr...@loadstarlk.com Subject: Re: [java ee programming] Re: Clear Console Screen Hi Nelson! Bern had already answered this question.And I dont have any functions that can clear the console.For your sake, go this forum sie.You will get much better idea http://www.dreamincode.net/forums/showtopic9880.htm Regards Ashish On Fri, Feb 6, 2009 at 3:53 AM, Nelson Rodrigo - LHQ <nelson.rodr...@loadstarlk.com> wrote: Hi Ashis I tried so many times, But I unable to find correct way If you have clear idea about that please let me know or if you have already running Function please send it Tanks Nelson Rodrigo Staff Officer - Software Development LOADSTAR (PRIVATE) LIMITED Sri Lanka | Tel: +94 11 483 7914 | Fax: +94 11 224 0892 | Mobile: +94 77 311 6556 P SAVE PAPER - Please consider our environment before printing * _____ From: ashish shrestha [mailto:ashishst...@gmail.com] Sent: Friday, February 06, 2009 2:15 PM To: nelson.rodr...@loadstarlk.com Subject: Re: [java ee programming] Re: Clear Console Screen Hi Nelson! Actually there is no single command in java to clear the console screen like("\n" for printing in new line.) But you can develop your own function that will clear the console when the function is executed Regards Ashish Shrestha On Fri, Feb 6, 2009 at 3:30 AM, Nelson Rodrigo - LHQ <nelson.rodr...@loadstarlk.com> wrote: Dear Ashi Thanks for the reply Can you please direct me how can I use CLS command, I mean what is the syntax Nelson Rodrigo Staff Officer - Software Development LOADSTAR (PRIVATE) LIMITED Sri Lanka | Tel: +94 11 483 7914 | Fax: +94 11 224 0892 | Mobile: +94 77 311 6556 P SAVE PAPER - Please consider our environment before printing * -----Original Message----- From: java-ee-j2ee-programming-with-passion@googlegroups.com [mailto:java-ee-j2ee-programming-with-pass...@googlegroups.com] On Behalf Of ashish shrestha Sent: Friday, February 06, 2009 1:50 PM To: Java EE (J2EE) Programming with Passion! Subject: [java ee programming] Re: Clear Console Screen Hi Nelson! You said u are working with console so "cls" command can clear your screen. For printing in separate line you can use: System.out.println("\n"); // "\n" will show your output in new line Regards Ashish Shrestha On Feb 6, 3:09 am, "Nelson Rodrigo - LHQ" <nelson.rodr...@loadstarlk.com> wrote: > Dear Friends > > I'm new to Java and I'm working with Console Application (DOS Mood) > > So my problem is when I execute the program I want to clear full screen > (like CLS command) and display my result > > And also I want to know how I can keep separate line in out put (Like > System.out.println(""); > > Thanks in Advance > > Nelson Rodrigo > Staff Officer - Software Development > LOADSTAR (PRIVATE) LIMITED > Sri Lanka | Tel: +94 11 483 7914 | Fax: +94 11 224 0892 | Mobile: +94 77 311 > 6556 > > P SAVE PAPER - Please consider our environment before printing * --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~----------~----~----~----~------~----~------~--~---