ok.. I was to clear the commandline screen (in windows) after my GUI pops up...
I tried:
public void clearScreen()
{
try
{
if (System.getProperty("os.name").toLowerCase().startsWith("win"))
{
Runtime.getRuntime().exec("cls\n\r");
}
}
catch (IOException e)
{
System.out.println("error:" +e.toString());
}
System.out.println("end clearScrean");
}
but it didn't work...
any ideas?
thanks
rev aaron