- 
    Bug 
- 
    Resolution: Fixed
- 
     P3 P3
- 
    15, 16, 17
- 
        b16
                    The current state of specification for 
https://download.java.net/java/early_access/jdk17/docs/api/java.desktop/javax/swing/JFormattedTextField.AbstractFormatter.html#getDocumentFilter()
https://download.java.net/java/early_access/jdk17/docs/api/java.desktop/javax/swing/JFormattedTextField.AbstractFormatter.html#getNavigationFilter()
is the following
===============
protected DocumentFilter getDocumentFilter()
Subclass and override if you wish to provide a DocumentFilter to restrict what can be input. install will install the returned value onto the JFormattedTextField.
Returns:
DocumentFilter to restrict edits
protected NavigationFilter getNavigationFilter()
Subclass and override if you wish to provide a filter to restrict where the user can navigate to. install will install the returned value onto the JFormattedTextField.
Returns:
NavigationFilter to restrict navigation
===============
Actually as per OpenJDK - null is returned by both "default" implementations and it means "no filtering", as other places in the code indicate
            
https://download.java.net/java/early_access/jdk17/docs/api/java.desktop/javax/swing/JFormattedTextField.AbstractFormatter.html#getDocumentFilter()
https://download.java.net/java/early_access/jdk17/docs/api/java.desktop/javax/swing/JFormattedTextField.AbstractFormatter.html#getNavigationFilter()
is the following
===============
protected DocumentFilter getDocumentFilter()
Subclass and override if you wish to provide a DocumentFilter to restrict what can be input. install will install the returned value onto the JFormattedTextField.
Returns:
DocumentFilter to restrict edits
protected NavigationFilter getNavigationFilter()
Subclass and override if you wish to provide a filter to restrict where the user can navigate to. install will install the returned value onto the JFormattedTextField.
Returns:
NavigationFilter to restrict navigation
===============
Actually as per OpenJDK - null is returned by both "default" implementations and it means "no filtering", as other places in the code indicate
- clones
- 
                    JDK-8263472 Specification of JComponent::updateUI should document that the default implementation does nothing -           
- Resolved
 
-         
- csr for
- 
                    JDK-8263922 JFormattedTextField.AbstractFormatter.getDocumentFilter()/getNavigationFilter() spec doesn't mention what the default impls return and what does it mean -           
- Closed
 
-         
 
        