Implemented SwingUtilities.invokeLater to Adding tabs