How To Set the Transparency of a JavaComponent(jRangeSlider)
Ältere Kommentare anzeigen
I want to overlay two jRangeSliders, disabling the first one and setting the second transparent so that both are visible.
So far, I've played around with the java.awt.Color() values for quite a bit, but the transparency never works well.
slider.setBackground(java.awt.Color(1, 1, 1, 0.1))
does very scary things to my code, and I have no idea why additional buttons and badly placed sliders are randomly generated from it.
How do I make a slider's background transparent?
1 Kommentar
Kairui Zeng
am 29 Mai 2019
Antworten (0)
Kategorien
Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!