forgotten awt function calls in core