Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Drawing a vertical string

  Asked By: Violet    Date: Mar 06    Category: Java    Views: 967
  

Does anybody knows how to draw a string in this format:

H
E
L
L
O

Ive read that html code can be use but It seems that it only works on
java components like JPanel. Ive tried to search on sun website but I
haven't find any.

Share: 

 

3 Answers Found

 
Answer #1    Answered By: Arthur Cole     Answered On: Mar 06

A String is a Array of letters. So you could use a for loop to iterate
though that "array" and print each letter on a new line.

 
Answer #2    Answered By: Jim Williamson     Answered On: Mar 06

Is it posible to display a vertical string  on a label or a tab ?

i once had to put some vertical tabs in my applications and wanted to put the
tab title in verticle manner.... i couldn't do it... does anybody know about
this?

this can also be applicable to radiobuttons, check boxes etc...

any solutions?

 
Answer #3    Answered By: Sherri Parker     Answered On: Mar 06

I wouldn't realy know what is possible or not in Java GUI, I try not to
use it.

 
Didn't find what you were looking for? Find more on Drawing a vertical string Or get search suggestion and latest updates.




Tagged: