how do i clear the whole screen

Discussion in 'Java' started by nipanjanpaul@yahoo.com, Jan 16, 2006.

  1. Guest

    hi i am new to java, is there any way i can clear the whole screen
    before i display the result in jdk1.3.
     
    , Jan 16, 2006
    #1
    1. Advertisements

  2. zero Guest

    wrote in @f14g2000cwb.googlegroups.com:
    If you're talking about the console window (that's the black box with white
    text, looks like a dos box), look for something like "clear console" in
    this group's archive
    http://groups.google.com/group/comp.lang.java.programmer?lnk=gschg

    If you mean a Swing GUI element such as a JTextArea, just use
    JTextArea:setText("");
     
    zero, Jan 16, 2006
    #2
    1. Advertisements

  3. Roedy Green Guest

    Roedy Green, Jan 16, 2006
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.