Sep 26th, 2006, 04:36 PM
TabbedPane & TabbedDialogPage... 2 questions
I have 2 questions with regards to TabbedPane and TabbedDialogPage...
I create a TabbedDialogPage by calling multiple addForm(form1), addForm(form2) etc...
The dialog is generated without a problem, each tab represents a form
Q1: How could I tell my form that its tab has been selected? cleanly? Is there a listener of some sort already available?
Q2: How could I tell my dialog to hide some tabs when some events occur. (the obvious solution of sub-classing the TabbedDialogPage and calling setVisible on the Dialog does not work). I believe that it is not trivial even for JDK... may be it is a JDK question?