--- /home/cpdev/src/classpath/javax/swing/JFormattedTextField.java	2005-07-02 21:04:00.000000000 +0000
+++ javax/swing/JFormattedTextField.java	2005-06-30 05:35:09.000000000 +0000
@@ -42,10 +42,7 @@
 import java.io.Serializable;
 import java.text.Format;
 import java.text.ParseException;
-import java.util.Date;
 
-import javax.swing.text.DateFormatter;
-import javax.swing.text.DefaultFormatter;
 import javax.swing.text.Document;
 import javax.swing.text.DocumentFilter;
 import javax.swing.text.NavigationFilter;
@@ -200,8 +197,7 @@
 
   public Action[] getActions ()
   {
-    // FIXME: Add JFormattedTextField specific actions
-    return super.getActions();
+    throw new InternalError ("not implemented");
   }
 
   public int getFocusLostBehavior()
@@ -244,10 +240,7 @@
 
   protected void processFocusEvent (FocusEvent evt)
   {
-    // it's safe to simply call super for now, until it gets clear
-    // what this method is supposed to do
-    // throw new InternalError ("not implemented");
-    super.processFocusEvent(evt);
+    throw new InternalError ("not implemented");
   }
 
   public void setDocument(Document newDocument)
@@ -299,49 +292,9 @@
   {
     if (value == newValue)
       return;
-
-    // format value
-    AbstractFormatter formatter = createFormatter(newValue);
-    try
-      {
-        setText(formatter.valueToString(newValue));
-      }
-    catch (ParseException ex)
-      {
-        // TODO: what should we do with this?
-      }
-
+    
     Object oldValue = value;
     value = newValue;
     firePropertyChange("value", oldValue, newValue);
   }
-
-  /**
-   * A helper method that attempts to create a formatter that is suitable
-   * to format objects of the type like <code>value</code>.
-   *
-   * If <code>formatterFactory</code> is not null and the returned formatter
-   * is also not <code>null</code> then this formatter is used. Otherwise we
-   * try to create one based on the type of <code>value</code>.
-   *
-   * @param value an object which should be formatted by the formatter
-   *
-   * @return a formatter able to format objects of the class of
-   *     <code>value</code>
-   */
-  AbstractFormatter createFormatter(Object value)
-  {
-    AbstractFormatter formatter = null;
-    if (formatterFactory != null
-        && formatterFactory.getFormatter(this) != null)
-     formatter = formatterFactory.getFormatter(this);
-   else
-     {
-       if (value instanceof Date)
-         formatter = new DateFormatter();
-       else
-         formatter = new DefaultFormatter();
-     }
-    return formatter;
-  }
 }
