|
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
|