Activate the Hidden Tabs
<p>In my java swing project I'm trying to implement the following functionality :</p>

<p>I have a frame that has a <code>JTabbedPane</code>(with 4 tabs), <code>JCombobox</code> with 5 items and a <code>JButton</code>, At a time contents of only one tab can be seen, and that of the other are hidden..</p>

<p><code>JCombobox</code> and <code>JButton</code> are available on 1st tab.</p>

<p>I am looking for the code</p>

<ol>
<li><p>"when I am selecting any 1st three items from JCombobox and click on JButton then 2nd tab which is hidden now it should become visible after selection of item and clicking on the button".</p></li>
<li><p>same for the next tab "When I am selecting 4th item of JCombobox and click on JButton then 3rd tab should become visible".</p></li>
<li><p>"When I am selecting 5th item of JCombobox and click on JButton then 4th tab should become visible".</p></li>
</ol>

<p>Please tell me how to do this?<br>
And its very urgent</p>
