Show image in JTextPane?

The only way is to use JEditorPane instead of JTextPane. There you would have to set HTMLEditorKit After that, following html should work (only with absolute paths).

The only way is to use JEditorPane instead of JTextPane. There you would have to set HTMLEditorKit. After that, following html should work (only with absolute paths).

More information is at download.oracle.com/javase/tutorial/uisw....

Saving image in temp folder and then giving path like this works. Thanks for your help. – Harry Joy Jun 9 at 3:29.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions