Hi All,
I will be thankful to all of u, if u can give me suggestions for this problem.
I want to display text and image stored in a table in HTML format in the database.
For eg.
My name is Pankaj.
The image is in another table with this name(not as a physical file).
What I'm doing is displaying it in a panel with text in JTextpane and image as label. The content type of JTextPane is text/html.
The problem comes when the text length is bigger than the textpane width and it scrolls down to second line. At this moment I can't display the image next to the end of text b'coz of textpane size.
I tried to display the text in a go but then it gives blank image icon on the screen. But I'm not able to locate the position of image on the screen overwrite image label onto it.
Please give me an appropriate solution to fix this problem.
Thanx
Pankaj
------------------
SCJP2
[This message has been edited by pankaj bansal (edited September 16, 2001).]