Fill paint with button clicked

I have difficulty designing a button when clicking to change the symbol color to different color

this code on event handler action performed event.source.parent.getComponent('Circle').fillPaint = '#FFFFFF'

but it is not working

Vision components need Java Color objects, not strings.
Try event.source.parent.getComponent("Circle").fillPaint = system.gui.color(255, 255, 255).

1 Like

You are the best