Hey
I got an Array that contains info about words, and the position thay shold be printed on the Drawing.
I use a defultStyledDocument where i use colors.
Say that the first
word is placed some rows down, and i only got the x y value of this, not how many /n i realy need. Is there a way to give a x y(point) value and get the postione in the styled document?
Or do i have to calculate the rows my self(with scalings) and the have a loop that adds "\n" as many times as needed to the
string?
This is not easy, i dont know the row size and it can be in diffrent scales to.
Do you have any
ide how i could solve this in a good way?
//Jimmy