Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

move cursor back one position using println in com window

Status
Not open for further replies.

mes123

Programmer
Jul 29, 2005
62
0
0
GB
Is it possible to move the cursor back one position when using println in a simple console window? The idea is to replace text as the program progresses - like the old doc install xx% done...

 
This forum is for J2EE questions, you should post this in the Java forum.

Anyway, I think what you want is a bit tricky, if not impossible.

The only way I see is trying to "print" a backspace that will delete the last written char but that is AFAIK system dependant.

Cheers,
Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top