Skip to content

Commit fd9420a

Browse files
author
soheil_h_y
committed
1. setTabList() is implemented
1 parent cff8464 commit fd9420a

File tree

1 file changed

+4
-0
lines changed
  • sources/net.sf.j2s.java.org.eclipse.swt/src/org/eclipse/swt/widgets

1 file changed

+4
-0
lines changed

sources/net.sf.j2s.java.org.eclipse.swt/src/org/eclipse/swt/widgets/Composite.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -900,6 +900,10 @@ public void setTabList (Control [] tabList) {
900900
tabList = newList;
901901
}
902902
this.tabList = tabList;
903+
int length = tabList.length;
904+
for(int i = 0; i < length ; i++){
905+
tabList[i].handle.tabIndex = i + 1;
906+
}
903907
}
904908

905909
void setResizeChildren (boolean resize) {

0 commit comments

Comments
 (0)