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

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

That's difficult to answer. Depends on the code...

For the start, I thought about implementing switching (without restart) from 
one FlatLaf theme to another FlatLaf theme only. This is less work because only 
FlatLaf related UI delegates (editor/view tabs, etc), which I've implemented, 
need to be adjusted. Also it is not necessary to replace those many static 
fields that remember what LaF is active.

Think that this is doable in 1-2 weeks.

Having this as base, other (popular) LaFs can be added.

Rarely used LaFs (Motif, Windows Classic, ...) can probably remain excluded, 
which saves work.

> [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