Selfconsistent calculations of highly excited nuclei