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
-~----------~----~----~----~------~----~------~--~---

Reply via email to