78910111213
public class OptionsPanel extends JTabbedPane { public OptionsPanel() { addTab("General", new GeneralOptions()); addTab("Downloaders", new DownloaderOptions()); }