Ok so I've recently found out about WindowBuilder (Eclipse IDE) that aids in faster creation of Swing applications. I have a added a JTabbedPane using the drag and drop facility. How can I add tabs to it? I have gone through the properties but I couldn't find how to add tabs using WindowBuilder. Although I have manually added tabs but I just want to know what is the other way round.
Just add a JPanel
to the JTabbedPane
. The tab will appear. To add more tabs just click the next to the tab header, with the JPanel
still selected. To switch between tabs just double click the tab header