Re: Nimbus Look and Feel is not applied correctly all the time
Peter Hansson <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <CAC55jYN3yNBi5SOpemyGT7HdYyRC-kQ4i2Qirf_oeOvV+orPPw@mail.gmail.com> |
We use a proprietary L&F which is based off Nimbus. (it actually tells the outside world that it is Nimbus). I cannot recognize the experience you've had/have. I believe the interesting part of your observations is that - if I understand you correctly - the problem is intermittent. I wonder if it could have to do with memory constraints? Intermittent problems are often caused by this. Or some other software running on your workstation that try to optimize colors or what not? Peter On Thu, Jul 28, 2016 at 12:36 AM, bbergeson <[email protected]> wrote: > I found that the Nimbus look and feel is not always applied correctly. I > am running on Windows 7 64 bit and using java 1.8 update 92 and when I > launch my application inside or outside of NetBeans the application will > not look correct 5 out of 30 times. Most of the time it is just the > buttons that will be a dark grey, instead of a light grey, when you hover > over them and at other times the whole application looks strange. This is > the only thing I see in the log file that might apply to this problem. I > set the look and feel in an installer class in a module that does not > depend on any of the other modules that I wrote in my project. I have > tried setting the module load type eager which did not help. Any ideas? > > WARNING [org.netbeans.core.modules]: the modules > [org.netbeans.modules.xml.text] use > org.netbeans.modules.editor.deprecated.pre65formatting which is deprecated. > WARNING [org.netbeans.core.modules]: the modules > [org.netbeans.modules.xml.text] use org.netbeans.modules.editor.structure > which is deprecated. > WARNING [org.netbeans.swing.plaf.Startup]: L&F Warning: Nimbus L&F is not > supported L&F yet and system may exhibit various drawing problems. Please > use for experimental purposes only. > WARNING [org.openide.filesystems.Ordering]: Not all children in > Services/MIMEResolver/ marked with the position attribute: > [sts-hmc200_project-plot_filetype-HMC_PlotDataObject-Extension.xml, > sts-hmc200_project-init_config_filetype-HMC_InitConfigDataObject-Extension.xml, > sts-hmc200_project-serdes_filetype-SerDesSettingDataObject-Extension.xml], > but some are: > [org-openide-loaders-DataLoaderPool$InstanceLoaderSystem-Extension.xml, > org-netbeans-core-startup-layers-SystemFileSystem-Extension.xml, > org-netbeans-modules-image-ImageDataObject-serialVersionUID-Extension.xml, > org-netbeans-modules-image-ImageDataObject-IMAGE_ICON_BASE-Extension.xml, > org-netbeans-modules-image-ImageDataObject-openSupport-Extension.xml, > org-netbeans-modules-image-ImageDataObject-printSupport-Extension.xml, > org-netbeans-modules-properties-PropertiesDataObject-Extension.xml, > org-netbeans-modules-languages-manifest-MfDataObject-Extension.xml, > org-netbeans-modules-languages-diff-DiffDataObject-Extension.xml, ! > org-netbeans-modules-editor-settings-storage-SettingsProvider-Registration.xml, > org-netbeans-modules-url-URLDataObject-Extension.xml, > org-netbeans-modules-pdf-PDFDataObject-Extension.xml, > org-netbeans-modules-xsl-XSLDataObject-Namespace.xml, > org-netbeans-lib-editor-codetemplates-storage-CodeTemplatesStorage-Namespace.xml, > org-netbeans-modules-editor-macros-storage-MacrosStorage-Namespace.xml, > org-netbeans-modules-xml-XMLDataObject-MIME_PLAIN_XML-Registration.xml, > org-netbeans-modules-xml-DTDDataObject-Extension.xml, > org-netbeans-modules-xml-EntityDataObject-Extension.xml, > org-netbeans-modules-xml-XMLDataObject-MIME_XSD_XML-Registration.xml, > org-netbeans-modules-xml-XMLDataObject-Registration.xml] > WARNING [org.openide.filesystems.Ordering]: Not all children in > Services/MIMEResolver/ marked with the position attribute: > [sts-hmc200_project-init_config_filetype-HMC_InitConfigDataObject-Extension.xml, > sts-hmc200_project-plot_filetype-HMC_PlotDataObject-Extension.xml, > sts-hmc200_project-serdes_filetype-SerDesSettingDataObject-Extension.xml], > but some are: > [org-openide-loaders-DataLoaderPool$InstanceLoaderSystem-Extension.xml, > org-netbeans-core-startup-layers-SystemFileSystem-Extension.xml, > org-netbeans-modules-image-ImageDataObject-serialVersionUID-Extension.xml, > org-netbeans-modules-image-ImageDataObject-IMAGE_ICON_BASE-Extension.xml, > org-netbeans-modules-image-ImageDataObject-openSupport-Extension.xml, > org-netbeans-modules-image-ImageDataObject-printSupport-Extension.xml, > org-netbeans-modules-properties-PropertiesDataObject-Extension.xml, > org-netbeans-modules-languages-manifest-MfDataObject-Extension.xml, > org-netbeans-modules-languages-diff-DiffDataObject-Extension.xml, ! > org-netbeans-modules-editor-settings-storage-SettingsProvider-Registration.xml, > org-netbeans-modules-url-URLDataObject-Extension.xml, > org-netbeans-modules-pdf-PDFDataObject-Extension.xml, > org-netbeans-modules-xsl-XSLDataObject-Namespace.xml, > org-netbeans-lib-editor-codetemplates-storage-CodeTemplatesStorage-Namespace.xml, > org-netbeans-modules-editor-macros-storage-MacrosStorage-Namespace.xml, > org-netbeans-modules-xml-XMLDataObject-MIME_PLAIN_XML-Registration.xml, > org-netbeans-modules-xml-DTDDataObject-Extension.xml, > org-netbeans-modules-xml-EntityDataObject-Extension.xml, > org-netbeans-modules-xml-XMLDataObject-MIME_XSD_XML-Registration.xml, > org-netbeans-modules-xml-XMLDataObject-Registration.xml] > > > > >