[ 
https://issues.apache.org/jira/browse/NETBEANS-3746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17072986#comment-17072986
 ] 

Karl Tauber commented on NETBEANS-3746:
---------------------------------------

Switching FlatLaf theme is Swing L&F switching. There is no magic in FlatLaf :)

So switching FlatLaf theme in NB without restart requires some changes in NB. 
E.g. no longer storing colors (or other theme related data) in static 
variables. And more...

I think it is doable, but requires some time...

> [FlatLaF] Change theme for FlatLaF
> ----------------------------------
>
>                 Key: NETBEANS-3746
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3746
>             Project: NetBeans
>          Issue Type: New Feature
>          Components: FlatLaf, ide - UI, platform - Options&Settings
>         Environment: Product Version: Apache NetBeans IDE 11.1
> Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.1
>            Reporter: Christian Lenz
>            Assignee: Karl Tauber
>            Priority: Major
>              Labels: Look&Feel, theme
>         Attachments: flat-laf-changing-theme.gif
>
>
> As far as I know, there ia theming option for FlatLaF inside the FlatLaF 
> demo. See my screencapture for more info. So it is possible via JSON to theme 
> the LaF easy and restartless. IntelliJ is doing that and it works like a 
> charm.
> The problem of NetBeans changing LaF is you often need to restart, because 
> not all components are repainted correctly. But it seems that theming of 
> FlatLaF is independent from NetBeans.
> So it would be nice, if we can switch the FlatLaF theme easy via NetBeans as 
> it is possible in the FlatLaF demo which is located here: 
> https://github.com/JFormDesigner/FlatLaf
> I already asked here: https://github.com/JFormDesigner/FlatLaf/issues/29



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to