문제

my JToolbar is not displaying the background color even after I set the it from the Netbeans GUI Designer. The code to set the background color is even included in the autogenerated code. What could be wrong?

도움이 되었습니까?

해결책

You may want to set the background color by yourself if the GUI Editor did'nt generate it correctly. Try using setBackground. The Javadoc of this method is here.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top