On Mon, 5 Dec 2022 at 14:06, Patrik Karlström <pat...@trixon.se> wrote:
>
> Den fre 2 dec. 2022 kl 12:50 skrev Patrik Karlström <pat...@trixon.se>:
>
> >
> > TitlePane.font={font}$Label.font
> >>
> >> Save the file and restart NetBeans.  Is that better?
> >>
> >> Neil
> >>
> >
> > Thanks, I'll try this on Monday when I'm back on Windows.
> >
> >
> Works great! Will use that until NB 17.

Good to know.

> Not a problem, just an observation; Hitting the "Edit custom properties
> button" on a platform app without editors(?) results in
> SEVERE [org.openide.util.Exceptions]
> java.lang.NullPointerException: Cannot invoke
> "org.netbeans.api.actions.Editable.edit()" because "editable" is null

Hmmm.  That's annoying.  Pretty sure some basic editor support is
brought in already by the dependencies of the options panel?  I
deliberately implemented this without adding additional dependencies
other than those brought in transiently already.

Maybe should have used Openable here?  Or fall back to Openable if
Editable is null?

Any chance you could step through and find what DataObject we have
here, and why it's not got an Editable?

Ideally we might look at branding this button visibility.  Ideally we
might also look at splitting off the options panel for FlatLaf into a
separate module with different dependencies.  That was discussed in
https://github.com/apache/netbeans/pull/4719

Incidentally, I think this should support registering the additional
properties file directly in a layer too, so might also be a way to
deliver overrides for platform applications.

Best wishes,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-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