Hi all, i tried to create tabbed pane in java GUI, as we know we should use this function : JTabbedPane(), but i dont know how to use it..would somebody here help me..
Container cp = the content pane of your JFrame or JApplet
JTabbedPane thePane = new JTabbedPane();
thePane.add("Tab1", new JPanel());
thePane.add("Tab2", new JPanel());
cp.add(thePane);
That should get you a basic Tabbed Pane with two tabs.
__________________
UPDATE 0beron SET talkupation = talkupation + lots WHERE post = 'helpful'; Scribble Pad MOD for phpBB (aka MSN handwriting for forums)