AnsweredAssumed Answered

about develop spark plugin

Question asked by leshem on Mar 18, 2011
Latest reply on Mar 18, 2011 by stytrix

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?

Attachments

Outcomes