AnsweredAssumed Answered

Proposal: make IM panel tab position optional

Question asked by mirceac on Apr 28, 2011
Latest reply on Apr 29, 2011 by mirceac


I would like to propose to enhance functionality in Spark to provide tabs positions optional (contact list tab, conference tab, any plugin tab)

Currently they are set to bottom and there is no way to make it optional


In we have:

workspacePane = new SparkTabbedPane(JTabbedPane.BOTTOM);


We can make it optional in to ways:

1. adding a system property variable, the code will become:


  // Initialize workspace pane, defaulting the tabs to the bottom.

                    final String tabsTop = System.getProperty("");

                    if (tabsTop == null) {

                              workspacePane = new SparkTabbedPane(JTabbedPane.BOTTOM);

                    } else {

                              workspacePane = new SparkTabbedPane();



2. we can add a property in that will say true:





(The default will position will remain BOTTOM)


I am very open to contribute with a patch


Any feedback appreciated, Thanks!

Mircea Carasel