开发者

tabs problem in Java Swing

I have created 8 tabs in a tabbed panel using Java Swing. The problem is when I enter data in any tab and click the save button. After clicking it leaves the present tab/panel and goes to the first tab.

I have to retain on the same tab after clicking the save b开发者_运维问答utton.

Please help me on this.


I got the answer, just forgot to comment the getFrame().dispose() method.

Thanks for your concern.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜