(Component comp)
| 147 | |
| 148 | |
| 149 | public void setPanel(Component comp) { |
| 150 | for (Tab tab : tabList) { |
| 151 | if (tab.comp == comp) { |
| 152 | currentPanel = comp; |
| 153 | cardLayout.show(cardPanel, tab.name); |
| 154 | repaint(); |
| 155 | } |
| 156 | } |
| 157 | } |
| 158 | |
| 159 | |
| 160 | public Component getPanel() { |
no test coverage detected