Veneet, The kind of questions you're asking are very fundamental in nature, and it seems you're not doing enough homework before asking questions.
I'd recommend looking at the source code and find some things for yourself. In this case why would you expect the TabItem api to find you a CTabItem ? -- Ketan On 09-Oct-08, at 4:01 PM, Veneet wrote: > > Hi guys, > > CTabFolder folder = new CTabFolder(shell, SWT.FLAT); > folder.setSimple(false); > folder.setMinimizeVisible(true); > folder.setMaximizeVisible(true); > > for (int x = 1; x <= 5; x++) > { > CTabItem ct = new CTabItem(folder, SWT.CLOSE); > ct.setText("Form" + x); > } > > > bot.tabItem("Form1").activate(); // italicized text > is the > confusing bit > > // Throws a Widget Not Found Exception > > > if i use TabFolder instead works Fine i went thru the features > Link on > The Site it says it support CTabItem > > > Any Help in This case would be Appreciated... > > > Thanks > > b Bye! > > > Veneet Raina ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ SWTBot-users mailing list SWTBot-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/swtbot-users http://swtbot.org/ - a functional testing tool for SWT/Eclipse