I download the exmaples.jar, I want to add my own tab onto the spark. Here is the codes:
Workspace workspace = SparkManager.getWorkspace();
// Retrieve the Tabbed Pane from the WorkspaceUI.
SparkTabbedPane tabbedPane = workspace.getWorkspacePane();
// Add own Tab.
tabbedPane.addTab("My plugin",null, new JButton("hello"));
However, my own tab（my plugin） shows abnormal, Can anyone help me?