Ola Pessoal…
estou tendando implementar um progressBar usando o comando Runtime.exec.
String hostname="/home/teste/host";
try
{
Runtime run = Runtime.getRuntime();
Process processo = run.exec("/home/teste/exec.x " + hostname);
}
catch (Throwable t)
{
t.printStackTrace();
}
Como eu posso implementar um ProgressBar ??
Obrigada