Re: Modification of output
- From: Oscar kind <oscar@xxxxxxxxx>
- Date: 29 May 2005 10:10:54 GMT
Mikl <spamikl@xxxxxxxxxxxxxxxxx> wrote:
> Right now I'm using the good ol' System.out.Println to print out to the
> screen, whenever a certain variable changes. If it changes a lot, it
> uses up an awful lot of lines though. Is there a way to reuse the same
> line to that output so whenever it changes, it'll just overwrite the
> same line?
No, but there is a caveat to that. It depends on you knowing something
about the display device.
For example, if you know the display device is a terminal (such as a Linux
command line) you can use the ANSI escape sequences to move the cursor
around. See here for more info: http://www.termsys.demon.co.uk/vtansi.htm
--
Oscar Kind http://home.hccnet.nl/okind/
Software Developer for contact information, see website
PGP Key fingerprint: 91F3 6C72 F465 5E98 C246 61D9 2C32 8E24 097B B4E2
.
- References:
- Modification of output
- From: Mikl
- Modification of output
- Prev by Date: Modification of output
- Next by Date: Help with this JMF problem needed!
- Previous by thread: Modification of output
- Next by thread: Re: Modification of output
- Index(es):