Actually i created a JFrame containing a JTabbedPane component that includes say 3 JPanels ... now whenever i call the constructor of this frame.. i.e., i execute the application.. out of the 3 JPanels the first JPanel is displayed.. in the JTabbedPane...
But what i exactly want is that whenever the constructor is called, JTabbedPane should be displayed with the JPanel (on the 2nd place in this very component) to be displayed.
please suggest. thnx. :cool:
Did you read the API documentation for the JTabbedPane class? The answer is right there and I bet you didn't read it. Go read it first.
Originally Posted by Stephen Douglas