Joesph Jimison wrote:
> (2) Can the Protege group provide insight into
>     how I locate the TabWidget object that I've
>     created? Extra credit would be to reveal
>     how this would be done within JessTab so
>     that Jess "knows" about the TabWidget.

I can help with part of this.  There isn't a direct way to for one tab to access
another tab in Protege.  Most tabs "communicate" with each other though changes
in the underlying knowledge base.  However, an indirect way to do this is to
march up the component hierarchy (calling getParent() recursively) until you get
a JTabbedPane object (x instanceof JTabbedPane).  You can then use the methods
on JTabbedPane to get all of the tabs and figure out which is the one you want.

Ray

---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list (use your own address!) List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------

Reply via email to