remove awt, and swing functionality