JTextPane and StyledDocument question
I was just wondering if it is necessary to have a StyledDocument that is added to the JTextPane, or if it is acceptable to have all the components (JLabels in my case) added to the JTextPane rather than a StyledDocument?
Right now I basically have a JTextPane with a few JLabels in it that is added to a JPanel. This works fine, but I think I might run into a problem if I need to add any text other than JLabels. Any help is appreciated... sorry if this doesn't make much sense.
dub

