The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
August 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

vertical text is possible in Java

Posted by Hiran Watson on August 10, 2001 at 11:32 AM

Hey, yes there's a simple way to display the text vertically. It's the character for a new line - \n. If you're using it in a string, you can either have this System.out.println("a\nb") or System.out.println("a" + '\n' + "b"). So essentially, you just need to somehow insert a \n between each character. Hope this helps. If not, you can email me at hw_stuckie@hotmail.com.
Hiran



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us