Posted By:
Eugene_Petersen
Posted On:
Thursday, January 22, 2004 08:31 AM
If you are talking about the help which comes up when you press
F1, then the following code should help:
//create the frame and add the JToolbar as normal
//then do the following
splitter = new JSplitPane();
//set other JSplitPane properties here
JPanel tab1 = new JPanel();
JPanel tab2 = new JPanel();
JPanel tab3 = new JPanel();
JPanel tab4 = new JPanel();
JTabbedPane tabs = new JTabbedPane();
tabs.addTab("Content", null, tab1, "View content List");
tabs.addTab("Index", null, tab2, "View index List");
tabs.addTab("Search", null, tab3 "Enter a search here");
.....
splitter.add(tabs); //add left side pane
splitter.add(scollpane); //add right side pane
contentPane.add("Center", splitter);
.........
Hope this help. let me know if you getting stuck and
I'll try to clear it up more.
Goodluck