slider/Button transparency

hey everyone!

is there any way to make a component such as a button or a slider transparent?

Yes, that is possible. The Component class which is the Base class for all GUI widgets has a setAlpha() method.
You should also make sure to setOpaque(false), which makes sure that the background behind the component is drawn as well.

1 Like