AKB Forums

Go Back   AKB Forums > Technical sections > Languages, Compilers and Interpreters > Web Development
Home Register Blogs FAQ Members List Calendar Downloads Arcade Mark Forums Read

Web Development Java/PHP/Perl/ASP and more

Troubles when posting message? Click here! :: Проблемы с отправлением сообщения? Нажмите сюда!

Reply
 
LinkBack Thread Tools Display Modes
Old May 12, 2006, 08:04   #1
Дикообраз-безобраз
 
AvDav's Avatar
 
Join Date: Jul 2004
Location: У самого синего моря
Posts: 2,844
Rep Power: 5
Reputation: 123
clear screen Java code

kak mojno v java ochistit consol ? v c/c++ est system("cls") dlia windy i system("clear") dlia unix, ix java analog Runtime.getRuntime().exec(...) no on sozdaet docherniy process i zapuskaet kommandu - effekt teryaetysa, ne rabotaet. v inete pokopalsya est varianty tipa zapolnit pusitmi strochkami no eto toje ploxoe reshenie. jelatelno cross-platformenniy code, plz.
Spasibo.
__________________
- Гитлер?!!
- Да?!!
- Зурна!!!
AvDav is offline   Reply With Quote Quote selected
Old May 12, 2006, 12:23   #2
4294967296
 
Boyov's Avatar
 
Join Date: Mar 2002
Location: /proc/1
Posts: 378
Rep Power: 7
Reputation: 10
Re: clear screen Java code

Здарофф апер,

Я Java можно сказать вообще не знаю, но под Линух консолью можно легко манипулировать с помощю escape sequences.

работает под BASH: System.out.println ("\033[2J");
howto

превед !

PS Под Windows не могу ничего предложить
__________________
Free your mind and your OS will follow
Boyov is offline   Reply With Quote Quote selected
Old May 12, 2006, 15:41   #3
Дикообраз-безобраз
 
AvDav's Avatar
 
Join Date: Jul 2004
Location: У самого синего моря
Posts: 2,844
Rep Power: 5
Reputation: 123
Re: clear screen Java code

etot variant ya nashel pozje, thanks anyway.
__________________
- Гитлер?!!
- Да?!!
- Зурна!!!
AvDav is offline   Reply With Quote Quote selected
Old May 12, 2006, 15:50   #4
4294967296
 
Boyov's Avatar
 
Join Date: Mar 2002
Location: /proc/1
Posts: 378
Rep Power: 7
Reputation: 10
Re: clear screen Java code

a pod Windami chto delaesh ?
__________________
Free your mind and your OS will follow
Boyov is offline   Reply With Quote Quote selected
Old May 12, 2006, 16:08   #5
Дикообраз-безобраз
 
AvDav's Avatar
 
Join Date: Jul 2004
Location: У самого синего моря
Posts: 2,844
Rep Power: 5
Reputation: 123
Re: clear screen Java code

poka udachno xochu jdk postavit
govoryat cherez JNI mojno sdelat', potom wrappnut eto vse vmeste.
__________________
- Гитлер?!!
- Да?!!
- Зурна!!!
AvDav is offline   Reply With Quote Quote selected
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Russian security service chief urges clear rules on NGOs in ex-Soviet republics Aovin News 1 May 23, 2005 15:15
Longhorn: «красный экран смерти» | Red Screen of Death acid Microsoft Windows 12 May 23, 2005 08:18
Funny conversations with Microsoft's Help Desk Hrach_Techie TWARM 8 Oct 4, 2004 10:29
404 Error  - The Blue Screen of Death!! thebug Web Development 1 Aug 6, 2002 15:40
WinNT Blue Screen acid Fun 6 Feb 27, 2002 23:21


All times are GMT. The time now is 21:18.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
This board was founded on September 29, 2001
Powered by Viper Internet

Affordable Web Hosting | ParevNet

Buy text link