Greetings. I have a problem with a JTabbedPane inside a JDialog. What happens to me is that I load the window with data that is shown in 3 different panels of a JTabbedPane. The first time I call the main JFrame there is no problem. But the second time I call it, when opening the JDialog it appears unconfigured and instead of appearing my 3 panels, 6 appear and so they continue adding 3 in 3 every time I call the window without having closed the application. I have searched many pages and can not find a solution. I appreciate any help you can give me.