rickfelix Posted January 13, 2008 at 09:08 PM Report Share #159656 Posted January 13, 2008 at 09:08 PM Alguém tem alguma sugestão de como o fazer? 😛 é para ambiente windows.. Obrigado Link to comment Share on other sites More sharing options...
magician Posted January 13, 2008 at 09:09 PM Report Share #159657 Posted January 13, 2008 at 09:09 PM Ou usas JNI para usar uma lib de C ou então fazes um clico que faz println o numero de vezes necessário para limpar o ecrã. I haven’t lost my mind; it’s backed up on DVD somewhere! Link to comment Share on other sites More sharing options...
rickfelix Posted January 13, 2008 at 09:26 PM Author Report Share #159659 Posted January 13, 2008 at 09:26 PM não há outra forma? é que fazer println(); assim á toa parece-me um pouco má programação.. :/ Link to comment Share on other sites More sharing options...
rickfelix Posted January 13, 2008 at 09:32 PM Author Report Share #159660 Posted January 13, 2008 at 09:32 PM básicamente seria algo do género como há em C System.exec("cls"); Link to comment Share on other sites More sharing options...
magician Posted January 13, 2008 at 10:08 PM Report Share #159663 Posted January 13, 2008 at 10:08 PM Ha sim podes usar o Runtime para fazer exec do cls. I haven’t lost my mind; it’s backed up on DVD somewhere! Link to comment Share on other sites More sharing options...
rickfelix Posted January 13, 2008 at 10:33 PM Author Report Share #159672 Posted January 13, 2008 at 10:33 PM tenho de fazer import de algum package do java? Link to comment Share on other sites More sharing options...
magician Posted January 13, 2008 at 11:03 PM Report Share #159682 Posted January 13, 2008 at 11:03 PM Se não me engano acho que não basta fazeres Runtime.getRuntime().exec("cls"); I haven’t lost my mind; it’s backed up on DVD somewhere! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now