ken
ken

Reputation: 399

JToolbar not displaying background color

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?

Upvotes: 1

Views: 1474

Answers (1)

user813853
user813853

Reputation:

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.

Upvotes: 2

Related Questions