A little about abstract classes and drawings in Java