(Component comp)
| 128 | |
| 129 | |
| 130 | public void setPanel(Component comp) { |
| 131 | for (Tab tab : tabList) { |
| 132 | if (tab.comp == comp) { |
| 133 | currentPanel = comp; |
| 134 | cardLayout.show(cardPanel, tab.name); |
| 135 | repaint(); |
| 136 | } |
| 137 | } |
| 138 | } |
| 139 | |
| 140 | |
| 141 | public Component getPanel() { |
no test coverage detected