JFormDesigner / FlatLaf

FlatLaf - Swing Look and Feel (with Darcula/IntelliJ themes support)
https://www.formdev.com/flatlaf/
Apache License 2.0
3.42k stars 272 forks source link

Apply the light theme only to the JPanel and its children #553

Closed tsjung75 closed 2 years ago

tsjung75 commented 2 years ago

Hello,

I am developing a data analysis application that needs to capture analysis results. When I choose the dark theme, at the same time I need to use the light theme to capture the analysis panels.

Is there any way to apply the light theme only to the certain JPanel and its children?

DevCharly commented 2 years ago

Yes, this is possible. Here is an example

image

See https://github.com/JFormDesigner/FlatLaf/issues/363#issuecomment-919953134