how do i clear the whole screen

N

nipanjanpaul

hi i am new to java, is there any way i can clear the whole screen
before i display the result in jdk1.3.
 
Z

zero

(e-mail address removed) wrote in @f14g2000cwb.googlegroups.com:
hi i am new to java, is there any way i can clear the whole screen
before i display the result in jdk1.3.

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("");
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top