Re: Workflow! Can a Swing control mix html and jcomponents?



Hmm, that sounds rather interesting. Let me see if I can get that to
work.

Thomas A. Russ wrote:
timasmith@xxxxxxxxxxx writes:

Hi,

I would like to have a component which displays HTML content to allow
users to browse intranet/help content AND embed context aware
buttons/labels into the display.

So I might have a paragraph.

Need to add a new widget? For detailed instructions, policies and
procedures view here http://intranet.customer.com and then add your
widget here <MyWidgetFormPopup>. If you are adding a new type of
widget configure it first here <MyConfigWidgetForm>

So while I can do the former with JEditorPane - I have no idea how to
do the latter?

Could you do something like using your own form of URL and having the
URL listener code on the JEditorPane know how to handle it? You have to
install a listener for HTML events anyway to get the links to work, so
perhaps you could just extend it.

--
Thomas A. Russ, USC/Information Sciences Institute

.