Revision 9661 trunk/frameworks/_fwAndami/src/com/iver/andami/ui/theme/Theme.java

View differences:

Theme.java
1 1
package com.iver.andami.ui.theme;
2 2

  
3
import org.kxml2.io.KXmlParser;
4

  
5
import org.xmlpull.v1.XmlPullParser;
6

  
7 3
import java.io.BufferedReader;
8 4
import java.io.File;
9 5
import java.io.FileInputStream;
10 6
import java.io.FileNotFoundException;
11 7
import java.io.FileReader;
12 8
import java.io.IOException;
13

  
14 9
import java.util.ArrayList;
15 10

  
16 11
import javax.swing.ImageIcon;
17 12

  
13
import org.kxml2.io.KXmlParser;
14
import org.xmlpull.v1.XmlPullParser;
18 15

  
16
import com.iver.andami.messages.NotificationManager;
17

  
18

  
19 19
/**
20 20
 * Personalization of the program according to the file xml with the necessary information.
21 21
 *
......
122 122
											timers.add(parser
123 123
													.getAttributeValue("",
124 124
															TIMER));
125
											System.out.println(images.size()
126
													+ " " + timers.size());
127 125
											splashtag = parser.nextTag();
128 126
										} else {
129 127
											endSplash = true;
......
176 174

  
177 175
            // }
178 176
        } catch (Exception e) {
179
            e.printStackTrace();
180
            System.out.println("error");
177
        	 NotificationManager.addError("Error reading theme: "+file.getAbsolutePath(), e);
181 178
        }
182 179
    }
183 180

  

Also available in: Unified diff