[
https://issues.apache.org/jira/browse/NETBEANS-3746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17439314#comment-17439314
]
Christian Lenz edited comment on NETBEANS-3746 at 11/5/21, 2:53 PM:
--------------------------------------------------------------------
{quote}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...
{quote}
As I understand it correct, there is no difference between swing L&F switching
theme and that what FlatLaF does. It is just the problem that there are a lot
of hardcoded stuff in the core. I dunno whether you can create a theme for each
NetBeans look and feel which is part of the core and us them to switch the but
I guess it is exactly that thing.
was (Author: chrizzly):
> 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...
As I understand it correct, there is no difference between swing L&F switching
theme and that what FlatLaF does. It is just the problem that there are a lot
of hardcoded stuff in the core. I dunno whether you can create a theme for each
NetBeans look and feel which is part of the core and us them to switch the but
I guess it is exactly that thing.
> [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: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists