0
I’m doing some experiments to get to know the Netbeans IDE better and I got this one button coloring question.
Right-clicking on any jButton and selecting Properties, configure the item background in the green color, for example, but only the edge of the button gets the color selected.
JButton
before the change in Properties
JButton
after the change in Properties
I already changed the LAF to Windows and returned to Nimbus (default) and nothing different happens.
You can change the fill color of a button?
I’ve already answered your question, but if you don’t provide one [mcve] there is no way I can verify the problem. The solution below is functional.
– user28595
Only now have I seen your comment. I’m using the Netbeans GUI editor and put the screenshots of the small screen to demonstrate what’s going on, as Netbeans generates a lot of code that would be confusing to post here. This is my minimum example.
– user100648