Question about the colors in the plugin development

已回答

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

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

请先登录再写评论。