English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2 answers

Well to make delay make object of " java.awt.robot" and the use object.delay() to make delay of ur own choice. i havent done throught any function to clearscrean in java sorry for that.

2006-06-08 04:49:34 · answer #1 · answered by Anonymous · 0 0

try this

c.clear( );

My friend for delay:

public static void delay (int timeUnit)
{
int adjVar = 100000;
for(int i=0; i {
for( int j=0; j< timeUnit; j++)
{
double junkvar;
junkvar = Math.PI*Math.PI;
}
}
}

for further study try this

http://www.google.co.uk/search?hl=en&q=clear+screen+command+in+Java&btnG=Google+Search&meta=

2006-06-21 07:37:05 · answer #2 · answered by Joe_Young 6 · 0 0

fedest.com, questions and answers