View Single Post
  #1 (permalink)  
Old 12-24-2007, 12:35 PM
jamborta jamborta is offline
Member
 
Join Date: Dec 2007
Posts: 1
jamborta is on a distinguished road
displaying string
hi,

i'm quite new in java, just started to program in swing. one problem i really couldnt solve is that i have a string which i used to display output messages in text mode, it was alligned by adding spaces to them, however it doesnt work in graphical mode cos the spaces have a narrower width than the characters, so the columns are crooked, even if i try to display it in text box. any idea how i could solve it without reconstructing the original output?

thanks for your help,
tom
Reply With Quote
Sponsored Links