Hi,
Can someone tell me how I can add a JButtons or JLists on a Tabbedpane. I'm using the code below from the java tutorial but when use the add(list) then it gets added on a different tab.
Quote:
String[] data = {"one","two","three"};
JComponent panel1 = makeTextPanel("Panel #1");
tabbedPane.addTab("Tab 1", icon, panel1,
"does nothing");
tabbedPane.add(list);
tabbedPane.setMnemonicAt(0, KeyEvent.VK_1);
Thanks !!!!.

