Programatically selecting tabs

Hi,

I have a tab set set with 3 tabs and 1 table component inside each of the tabs.

I need to navegate between them. For that, there are hyperlinks inside the

tables, the user clicks on the hyperlynk and an other tab shoud get displayed. The way I pictured is, adding a action listener on the hyperlink and using the tabSet.setSelected("tab2") method. But it doesn't seem to work. Is this the correct approach ?

[438 byte] By [tiago_gaspar] at [2007-11-26 7:44:37]
# 1
Hello Tiago,Yes, you seem to be heading down the right direction. You should be doing something like this:((TabSet) parent).setSelected(newSelection);If this does not help, send me set code block and I will take a look at it?Regards,CreatorTeam
joelleLam at 2007-7-6 19:55:30 > top of Java-index,Development Tools,Java Tools...