I am using FlatLaf.

1) Changing the font in Cinnamon had no effect on NetBeans. This implies
that FlatLaf is not using the system default.

2) Before posting in the FlatLaf forum, I tried playing around with
customizing the ~/.netbeans/26/config/LookAndFeel/FlatLaf.properties file
which is opened by clicking the Tools > Options > Appearance > FlatLaf >
"Edit custom properties" button. I added the lines shown below and
restarted NetBeans but it had no effect. Either I have the syntax wrong or
there might be a bug somewhere that is preventing FlatLaf from reading that
file.

defaultFont = 24 "Open Sans", "Noto Sans", Roboto, Arial, Monospace
Tree.font = 30

Any further ideas?


Mitch Claborn

On Wed, Jun 18, 2025 at 12:44 PM Antonio <anto...@vieiro.net.invalid> wrote:

> Hi Mitch,
>
> I assume you're using the default FlatLaf look and feel.
>
> If so this is a FlatLaf specific issue. NetBeans does not customize the
> font used in the user interface [1], so FlatLaf is probably using the
> default system font.
>
> Things to try:
>
> 1) In Cinnamon modify the default system-wide typography and restart
> NetBeans, what happens with the font?
>
> 2) See [2] and/or ask for help in a FlatLaf specific forum.
>
> Hope this helps,
> Antonio
>
> [1]
>
> https://github.com/apache/netbeans/blob/master/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/FlatLaf.properties
>
>
> [2]
> https://github.com/JFormDesigner/FlatLaf/issues/105
>
> El 18/6/25 a las 19:21, Mitch Claborn escribió:
> > I am experimenting with a move from XFCE to Ubuntu Cinnamon. I copied my
> > NetBeans 26 installation from XFCE to Cinnamon, but the fonts in the
> > various non-editor panes are noticeably different. I've attached
> > screenshots of the Projects pane from both. The Cinnamon font is smaller
> > and the nodes of the tree view are much closer together.
> >
> > How can I get the fonts and spacing in Cinnamon to match what they were
> > in XFCE?
> >
> > Mitch Claborn
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> > For additional commands, e-mail: users-h...@netbeans.apache.org
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-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