Updated Scala style, deprecated graphics.GraphicEffect