Fix style of DefaultStyledDocument

50 Views Asked by At

I am wondering if it is possible to fix the style of StyledDocument in java. According to my observation, the style will change depending on style of previous position.

So I can key in the content with my defined style without being affected by the style of previous position.

Many thanks for the response!

0

There are 0 best solutions below