Re: Netbeans properties window - change font color for non-editable properties
geertjan wielenga <[email protected]> Sun, 4 Jun 2017 12:23:36 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Organization | Oracle Corporation |
| Message-ID | <[email protected]> |
Or maybe here's something to explore: https://blogs.oracle.com/geertjan/propertyeditorsupportpaintvalue Gj On 4-6-2017 12:10, geertjan wielenga wrote: > > > There are no simple ways to do anything with the Properties window, > unfortunately. > > You might be able to do something with Themes, maybe: > https://ui.netbeans.org/docs/ui/themes/themes.html > > I.e., find the disabled color for a property and then set it to > something else and include the above file via your module. Yes, not > pretty, but maybe an approach to consider instead of writing your own > custom editor. > > Gj > > > On 2-6-2017 20:08, Dmitry Avtonomov wrote: >> Hello everyone, >> I want to customize the look of ReadOnly properties in Properties >> window. Reading this: >> http://bits.netbeans.org/8.1/javadoc/org-openide-explorer/org/openide/explorer/doc-files/propertyViewCustomization.html >> I've found that I can remove the "three dots" button for a custom viewer. >> >> Is there any simple way to change the font color of non-editable >> properties from light-grey to just regular black? >> >> This tutorial: >> https://platform.netbeans.org/tutorials/nbm-property-editors.html >> explains how to install a custom editor, but it looks like too much >> and I'd need to replace all the editors for all types. >> >> Thanks, >> Dima >