public static SwingAppenderUI getInstance() {
         if (instance == null) {
         	synchronized(SwingAppenderUI.class) {
         		if(instance == null) {
         			instance = new SwingAppenderUI();
         		}
         	}
         }
         return instance;
     }