fyi, method setIFrameURL() gives an error because it re-sets the contentsType of the HTMLPane, which is not allowed after the component is created.
Workaround: setContentsType at definition time, don't use setIFrameURL but setContentsURL when the content of the IFrame needs to change.
Workaround: setContentsType at definition time, don't use setIFrameURL but setContentsURL when the content of the IFrame needs to change.
Comment