开发者

tabs problem in Java Swing

开发者 https://www.devze.com 2022-12-30 10:28 出处:网络
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 ta

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

精彩评论

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