SPARK-1258, SPARK-1257

updates to default.properties customization of colors
added new preference panel Color

Color-Panel and Appearance Panel are now tabbed

ill post a guide on how to configure the default.properties in the forum

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@12185 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Wolf Posdorfer
2011-03-25 15:29:00 +00:00
committed by wolf.posdorfer
parent 11eb9afd28
commit 8331b41590
15 changed files with 737 additions and 86 deletions

View File

@ -19,6 +19,7 @@
*/
package org.jivesoftware.spark.ui;
import org.jivesoftware.resource.Default;
import org.jivesoftware.resource.Res;
import org.jivesoftware.smack.Roster;
import org.jivesoftware.smack.RosterEntry;
@ -131,8 +132,12 @@ public class RosterDialog implements PropertyChangeListener, ActionListener {
panel.add(groupLabel, new GridBagConstraints(0, 4, 1, 1, 0.0D, 0.0D, 17, 2, new Insets(5, 5, 5, 5), 0, 0));
panel.add(groupBox, new GridBagConstraints(1, 4, 1, 1, 1.0D, 0.0D, 17, 2, new Insets(5, 5, 5, 5), 0, 0));
if(!Default.getBoolean("ADD_CONTACT_GROUP_DISABLED")){
panel.add(newGroupButton, new GridBagConstraints(2, 4, 1, 1, 0.0D, 0.0D, 17, 2, new Insets(5, 5, 5, 5), 0, 0));
}
newGroupButton.addActionListener(this);
panel.add(networkPanel, new GridBagConstraints(0, 5, 2, 1, 1.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 5, 5), 0, 0));