Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

set cursor position in console

843785Feb 2 2009 — edited Feb 2 2009
Hello,
I would like to set the position of the cursor in the console (command prompt).
Is ther a way to do this ?
public void printChar(int x, int y, char ch) {
	<set cursor position>(x,y);
    	System.out.println(ch);
    }
Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 2 2009
Added on Feb 2 2009
7 comments
2,390 views