(int index)
| 1071 | } |
| 1072 | |
| 1073 | private void checkIndex(int index) { |
| 1074 | if (index < 0 || index > tabsContainer.getComponentCount()) { |
| 1075 | throw new IndexOutOfBoundsException("Index: " + index); |
| 1076 | } |
| 1077 | } |
| 1078 | |
| 1079 | /// Returns the index of the tab for the specified component. |
| 1080 | /// Returns -1 if there is no tab for this component. |
no test coverage detected