refactoring: reduced usage of awt classes outside of UI components

archimedesJ targets now also Android support, thus usage of all
platformspecific Java classes must be avoided.