* @param skinURL Description of Parameter
* @param input Description of Parameter
* @exception Exception Description of Exception
*/
public KdeSkin(URL skinURL, InputStream input) throws Exception {
IniFile ini = new IniFile(input);
personality = new KdePersonality(ini, skinURL);
frame = new KdeFrame(ini, skinURL);
java.util.Vector colorList = new java.util.Vector();
for (int i = 0; i < swingToKde.length; i = i + 2) {
// "swingcolor", { "c1", "c2" }
String[] locals = (String[]) swingToKde[i + 1];
if (locals != null && locals.length > 0) {
for (int j = 0, d = locals.length; j < d; j++) {
if (ini.getKeyValue("Colors", locals[j]) != null) {
colorList.addElement(swingToKde[i]);
colorList.addElement(SkinUtils.decodeColor(ini.getKeyValue("Colors", locals[j])));
break;
}
}
}
}