public void updateUI(){
  if (isAcceptAllFileFilterUsed()) {
    removeChoosableFileFilter(getAcceptAllFileFilter());
  }
  FileChooserUI ui=((FileChooserUI)UIManager.getUI(this));
  if (fileSystemView == null) {
    setFileSystemView(FileSystemView.getFileSystemView());
  }
  setUI(ui);
  if (isAcceptAllFileFilterUsed()) {
    addChoosableFileFilter(getAcceptAllFileFilter());
  }
}

public void updateUI ( ) { if ( isAcceptAllFileFilterUsed ( ) ) { removeChoosableFileFilter ( getAcceptAllFileFilter ( ) ) ; } FileChooserUI ui = ( ( FileChooserUI ) UIManager . getUI ( this ) ) ; if ( fileSystemView == null ) { setFileSystemView ( FileSystemView . getFileSystemView ( ) ) ; } setUI ( ui ) ; if ( isAcceptAllFileFilterUsed ( ) ) { addChoosableFileFilter ( getAcceptAllFileFilter ( ) ) ; } }
resets the ui property to a value from the current look and feel .
