Simplifies drawing of componentes with GUI class.