This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Java in General and the fly likes How to PRINT @posX Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "How to PRINT @posX" Watch "How to PRINT @posX" New topic
Author

How to PRINT @posX

bob connolly
Ranch Hand

Joined: Mar 10, 2004
Posts: 204
Hello!

Is there a way to specify where to print on a line?

For example, if i have a variable name and want to print it's value @ position 12, is there a class to handle that?

Thanks much!
Nick George
Ranch Hand

Joined: Apr 04, 2004
Posts: 815




I've heard it takes forever to grow a woman from the ground
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 4474
    
    6

If you are printing to an ANSI terminal, you could try using ANSI codes.


Junilu - [How to Ask Questions] [How to Answer Questions]
bob connolly
Ranch Hand

Joined: Mar 10, 2004
Posts: 204
Thanks all, got it!

 
GeeCON Prague 2014
 
subject: How to PRINT @posX