1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Some question about java pogramming(clear screen)

Discussion in 'Java' started by qqjay89, Sep 21, 2009.

  1. qqjay89

    qqjay89 New Member

    Joined:
    Jan 8, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    i am new for java, in C++ we have the code system("cls") for clear screen, but in java which code can i use to clear the screen??
     
  2. nimesh

    nimesh New Member

    Joined:
    Apr 13, 2009
    Messages:
    770
    Likes Received:
    20
    Trophy Points:
    0
    Occupation:
    Oracle Apps Admin
    Location:
    Mumbai
    Home Page:
    Try these

    System.out.println("/033"); [Source]

    System.out.println ((char)27 + "[2J");[Source]
     
  3. SaswatPadhi

    SaswatPadhi ~ Б0ЯИ Τ0 С0δЭ ~

    Joined:
    May 5, 2009
    Messages:
    1,343
    Likes Received:
    55
    Trophy Points:
    0
    Occupation:
    STUDENT !
    Location:
    Orissa, INDIA
    Home Page:

Share This Page