Question about the colors in the plugin development

Answered

Hello.

I'm trying to develop a basic IntelliJ plugin.

So I created a “ToolWindow” from the “ToolWindowFactory” and added a “JPanel” to it.

My question : How can I change the JPanel background ?

I tried to change with “setBackground”, “setVisibility” and “setOpaque” function but nothing changes.

 

Can you help me ?
 

Bet regards.

0
1 comment

Plugins should usually not use custom colors for their UI, as it could also be modified by installed Theme plugin.

What is your use case here?

 

0

Please sign in to leave a comment.