public static void removeTextComponent(JTextComponent t)
 {
   if (JTextObserver.singleton == null)
     JTextObserver.singleton = new JTextObserver();
   ((Component) t).removeFocusListener((FocusListener) JTextObserver.singleton);
 }
 public static JTextObserver getInstance()
 {
   if (JTextObserver.singleton == null)
     JTextObserver.singleton = new JTextObserver();
   return JTextObserver.singleton;
 }