tab set component assistance

hi, does anyone know how to dynamically change visible tabs depending on user input...I have tried to use the individual tabs setVisible property to false yet it merely flickers and returns the original tab without actually seting anyting to visible or invisible...
[279 byte] By [Rangariraia] at [2007-11-26 23:51:22]
# 1

By default, all new tabs are enabled, which means the user can select them. A tab can be disabled to prevent the user from selecting it.

// Create a tabbed pane

JTabbedPane pane = new JTabbedPane();

// Add a tab

pane.addTab("Tab Label", component);

// Get index of the new tab

int index = pane.getTabCount()-1;

// Determine whether the tab is enabled

boolean enabled = pane.isEnabledAt(index);

// Disable the tab

pane.setEnabledAt(index, false);

java_2006a at 2007-7-11 15:30:00 > top of Java-index,Java Essentials,Java Programming...
# 2
Can this be done in jsf...? The component in question is the Tab Set component in Visual Web Pack...sorry for not specifying this in the post.any assistance would be appreciated.
Rangariraia at 2007-7-11 15:30:00 > top of Java-index,Java Essentials,Java Programming...
# 3
http://developers.sun.com/prodtech/javatools/jscreator/reference/docs/help/2update1/ui_elements/palette/bh/propsheets/bh_tab_props.htmlthere is a visible attribute under the Behavior sectionhth
java_2006a at 2007-7-11 15:30:00 > top of Java-index,Java Essentials,Java Programming...