the problem is that I need to open this tab from another form.
I don't know why that would be a problem. If you are able to see the JTabbedPane, and it sounds like you can, can't you do this in your ActionListener?
tx.setSelectedIndex(1);
Maybe I'm not visualizing things correctly. I think that's what llemes was suggesting.
VernonDozier
Posting Expert
5,527 posts since Jan 2008
Reputation Points: 2,633
Solved Threads: 711